public function getFeedItems() { require_once BASE . 'external/feedcreator.class.php'; // get all the feeds available to this expRss object $feeds = $this->getFeeds(); $items = array(); // loop over and build out a master list of rss items foreach ($feeds as $feed) { $controllername = expModules::getControllerClassname($feed->module); $controller = new $controllername($feed->src); $controller->loc = makeLocation($feed->module, $feed->src); $items = array_merge($items, $controller->getRSSContent()); } return $items; }