/** * (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); }
/** * (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); }
/** * (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); }
/** * (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); }