Source for file factory.php
Documentation is available at factory.php
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
* Class to maintain a pathway.
* The user's navigated path within the application.
* @deprecated 12.3 (Platform) & 4.0 (CMS) - Use JFeed or supply your own methods
* Get a parsed XML Feed Source
* @param string $url Url for feed source.
* @param integer $cache_time Time to cache feed for (using internal cache mechanism).
* @return mixed SimplePie parsed object on success, false on failure.
* @deprecated 4.0 Use JFeedFactory($url) instead.
* @note In 3.2 will be proxied to JFeedFactory()
JLog::add(__METHOD__ .
' is deprecated. Use JFeedFactory() or supply Simple Pie instead.', JLog::WARNING, 'deprecated');
$cache->setLifeTime($cache_time);
$simplepie->enable_cache(false);
$simplepie->set_feed_url($url);
$simplepie->force_feed(true);
$contents =
$cache->get(array($simplepie, 'init'), null, false, false);
Documentation generated on Tue, 19 Nov 2013 15:02:49 +0100 by phpDocumentor 1.4.3