PHP Classes

Nice Class, but

Recommend this page to a friend!

      RSS Reader  >  All threads  >  Nice Class, but  >  (Un) Subscribe thread alerts  
Subject:Nice Class, but
Summary:would be more useful if
Messages:2
Author:Dan Kramer
Date:2005-09-05 16:22:41
Update:2008-03-24 11:41:39
 

  1. Nice Class, but   Reply   Report abuse  
Picture of Dan Kramer Dan Kramer - 2005-09-05 16:22:41
This is a nice class. I made my copy more useful by changing the echo statements at the end of each function to return statements. That way, you can manipulate the output of the object instead of just echoing it.

  2. Re: Nice Class, but   Reply   Report abuse  
Picture of Jamie Wheaton Jamie Wheaton - 2008-03-24 11:41:39 - In reply to message 1 from Dan Kramer
I have been using the RSSReader and i am trying to get the lastbuilddate from the xml, i have tried the code below but it does not seem to be working, it just returns a blank.

function getLastBuildDate(){

return $this->data['channel']['lastBuildDate'];

}

Is there any reason this should not work?