Hi
I have problem to get the cach to work on SimpleXMLElement.
For exampel I call twitter to retrive some posts like this
$result = $this->cache->load('getFeedFromTwitter');
if(!$result){
$twitter = new Zend_Service_Twitter($username,$pswd);
$result = $twitter->status->userTimeline();
$this->cache->save($result, 'getFeedFromTwitter');
}
return $result;
But the I cant use the cached result in my view. Do I need to convert the
SimpleXML form the cache or beforre I put in in the cahce?
allt the best / Tom coder
www.poetfreak.com
--
View this message in context:
http://www.nabble.com/How-to-cache-SimpleXMLElement-tp23988561p23988561.html
Sent from the Zend Framework mailing list archive at Nabble.com.