Ejemplo n.º 1
0
 /**
  * (non-PHPdoc)
  *
  * @see \Widgets\WidgetBase::widget()
  */
 public function widget($args, $instance)
 {
     /*
      * Put the tags to show into the instance var.
      */
     $instance['tags'] = Term::getTags();
     /*
      * And call the widget func from the parent class WidgetBase.
      */
     parent::widget($args, $instance);
 }
Ejemplo n.º 2
0
 /**
  * (non-PHPdoc)
  *
  * @see \Widgets\WidgetBase::widget()
  */
 public function widget($args, $instance)
 {
     /*
      * Put the archives to show into the instance var.
      */
     $instance['archives'] = Archive::getMonthly();
     /*
      * And call the widget func from the parent class WidgetBase.
      */
     parent::widget($args, $instance);
 }
Ejemplo n.º 3
0
 /**
  * (non-PHPdoc)
  *
  * @see \Widgets\WidgetBase::widget()
  */
 public function widget($args, $instance)
 {
     /*
      * Put the pages to show into the instance var.
      */
     $instance['pages'] = Post::getPages();
     /*
      * And call the widget func from the parent class WidgetBase.
      */
     parent::widget($args, $instance);
 }
Ejemplo n.º 4
0
 /**
  * (non-PHPdoc)
  *
  * @see \Widgets\WidgetBase::widget()
  */
 public function widget($args, $instance)
 {
     /*
      * Put all languages available to show into the instance var.
      */
     $instance['languages'] = I18n::getAllLangAvailableKeyValue();
     /*
      * And call the widget func from the parent class WidgetBase.
      */
     parent::widget($args, $instance);
 }