List Info

Thread: $media->get_description




$media->get_description
user name
2007-04-03 15:29:59
What does $media->get_description return?

Thanks

gh

Re: $media->get_description
user name
2007-04-03 17:27:27
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.

HTH,

David

RE: $media->get_description
user name
2007-04-04 12:20:40
David E. Wheeler <mailto:davidkineticode.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?

Re: $media->get_description
user name
2007-04-04 12:50:31
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.Harrisongov.mb.ca> wrote:
> David E. Wheeler <mailto:davidkineticode.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?
>

RE: $media->get_description
user name
2007-04-05 09:13:48
John Durkin <mailto:john.durkingmail.com> wrote on
April 4, 2007 12:51
PM:

> 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
> 
That's what I thought. Now I have to find out why I'm not
getting the
description or an error.

Thanks

gh

[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )