it just returns a string.... the problem you're having
probably has to
do with $media not having what you expect in it. Do you
just get
nothing, an error, or what?
jd
On 4/4/07, Harrison, George (STEM) <George.Harrison gov.mb.ca> wrote:
> David E. Wheeler <mailto:david kineticode.com> wrote on
April 3, 2007
> 17:27 PM:
>
> > On Apr 3, 2007, at 13:29, Harrison, George
((STEM)) wrote:
> >
> >> What does $media->get_description return?
> >
> > The description.
> >
> > /me waits for the rim shot
> >
> > It's that field in the Media profile just below
the title and stuff,
> > a textarea.
>
> Yup, that's what is it is all right.
>
> I'm just having trouble getting get_description to
return the contents
> of that field.
> So should $desc = $media->get_description return the
contents as a
> string or does it return an object reference?
>
|