Exemple #1
0
 /**
  * Renders the widget.
  */
 public function run()
 {
     $this->registerPlugin('tabs');
     echo Html::beginTag('div', $this->containerOptions);
     echo parent::run();
     echo $this->renderItems($this->items);
     echo Html::endTag('div');
     //return Html::tag($this->tagName, $this->encodeLabel ? Html::encode($this->label) : $this->label, $this->options);
 }
 /**
  * Loads a widget
  * Callback function linked to the tag <ion:widget />
  * 
  * @param	FTL_Binding		The binded tag to parse
  *
  */
 public static function tag_widget($tag)
 {
     $name = $tag->attr['name'];
     return Widget::run($name, array_slice(array_values($tag->attr), 1));
 }
Exemple #3
0
 /**
  * Loads a widget
  * Callback function linked to the tag <ion:widget />
  *
  * @param	FTL_Binding
  *
  * @return	string
  *
  */
 public static function tag_widget(FTL_Binding $tag)
 {
     $name = $tag->getAttribute('name');
     return Widget::run($name, array_slice(array_values($tag->getAttributes()), 1));
 }