public function form($instance) { $aQueueData = array(); if (!empty($instance)) { $iQueueId = $instance['queue_id']; $oDaoJsonData = new \JsonData\Common\Model\Dao\JsonData(); $aQueueData = $oDaoJsonData->fetchSingleFeedQueue($iQueueId); $iFeedDataId = $aQueueData['json_data_id']; $aSingleFeed = $oDaoJsonData->fetchFeed($iFeedDataId); } $oDaoParticipantRegistry = new JDDao\JsonData(); $aFeedNames = $oDaoParticipantRegistry->getAllFeedNames(); include JsonData_Plugin_Dir . '/src/Admin/View/scripts/widget/sidebar.phtml'; }
private function _getFeedNames() { $oDaoParticipantRegistry = new JDDao\JsonData(); $aFeedNames = $oDaoParticipantRegistry->getAllFeedNames(); return $aFeedNames; }