« Return to Thread: Debugging/deciphering library methods

Re: Debugging/deciphering library methods

by Trevor Johns :: Rate this Message:

Reply to Author | View in Thread

On 2007-09-25 10:37:06 -0700, dmclark said:

> <strong>Title: </strong> <?php echo $event->title->text ?> <br />
> <strong>content: </strong> <?php echo $event->content ?> <br />
> <strong>when: </strong> <?php echo $event->when['startTime'] ?> <br />

Hi dmclark,
I think I might see your problem. Try $event->content->text and
$event->when->startTime.

I know it can be confusing at times. Unfortunately __toString() isn't
implemented consistently throughout the client library, which would
mitigate the simpler cases. This is a known issue (ZF-1632), and
something I'd very much like to see improved for future releases.

--
Trevor Johns
http://tjohns.net


 « Return to Thread: Debugging/deciphering library methods