Пример #1
0
 public function widget($args, $instance)
 {
     $title = apply_filters('widget_title', $instance['title']);
     echo $args['before_widget'];
     if (!empty($title)) {
         echo $args['before_title'] . $title . $args['after_title'];
     }
     $oFeed = new JDFeed();
     $oFeed->display(array('id' => $instance['queue_id']));
     echo $args['after_widget'];
 }
Пример #2
0
 public function displayFeed($aAttributes)
 {
     $oFeedController = new JDfeed();
     $oFeedController->display($aAttributes);
 }