public function addComponent(SimpleComponent $component, $attachTo, $params) { if ($this->autoCompile) { $this->components[] = $component; } if (isset($attachTo)) { $component->attach($attachTo); } if (isset($params)) { if (is_array($params)) { $component->setParams($params); } } return $component; }
public function getScript() { parent::getScript(); foreach ($this->jsCodes as $jsCode) { $this->jquery_code_for_compile[] = $jsCode->compile(array("identifier" => $this->attachTo)); } return $this->compileJQueryCode(); }
public function __construct(JsUtils $js) { parent::__construct($js); $this->uiName = "button"; }
public function __construct(JsUtils $js) { parent::__construct($js); $this->uiName = "selectmenu"; }
public function __construct(JsUtils $js) { parent::__construct($js); $this->params = array("active" => 0); $this->uiName = "accordion"; }
public function __construct(JsUtils $js) { parent::__construct($js); $this->params = array("value" => 50); $this->uiName = "progressbar"; }
public function __construct(JsUtils $js) { parent::__construct($js); $this->uiName = "autocomplete"; $this->setParam("minLength", 3); }
public function __construct(JsUtils $js) { parent::__construct($js); $this->uiName = "slider"; $this->setParam("value", 0); }
public function __construct(JsUtils $js) { parent::__construct($js); $this->uiName = "tooltip"; }
public function __construct(JsUtils $js) { parent::__construct($js); $this->params = array("dialogClass" => "no-close"); $this->addCancelBtn("Annuler"); }
public function __construct(JsUtils $js) { parent::__construct($js); $this->uiName = "spinner"; }