예제 #1
0
 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';
 }
예제 #2
0
 private function _getFeedNames()
 {
     $oDaoParticipantRegistry = new JDDao\JsonData();
     $aFeedNames = $oDaoParticipantRegistry->getAllFeedNames();
     return $aFeedNames;
 }