Exemplo n.º 1
0
 /**
  * @param string $text Label
  * @param string $icon Valid <uiControl::Icon>
  */
 function __initialize($text, $icon = false)
 {
     parent::__initialize("button");
     if ($icon) {
         $this->_icon = self::Icon($icon);
     }
     $this->type = "button";
     if ($text) {
         $this->content($text);
     }
 }
Exemplo n.º 2
0
 /**
  * @param array $options See http://api.jqueryui.com/autocomplete/
  */
 function __initialize($options = array())
 {
     parent::__initialize("input");
     $this->type = "text";
     $this->Options = $options;
 }
Exemplo n.º 3
0
 /**
  * @param string $title Title for header section
  * @param options $options
  */
 function __initialize($title = "TXT_UNKNOWN", $options = array())
 {
     parent::__initialize("div");
     $this->Options = $options;
     $this->title = $title;
 }