public function run(JsUtils $js) { if ($this->_container instanceof HtmlSingleElement) { $this->_bsComponent = $js->semantic()->dimmer("#" . $this->_container->getIdentifier(), $this->_params); } return parent::run($js); }
public function run(JsUtils $js) { if (isset($this->_bsComponent) === false) { $this->_bsComponent = $js->semantic()->accordion("#" . $this->identifier, $this->params); } $this->addEventsOnRun($js); return $this->_bsComponent; }
public function run(JsUtils $js) { $this->_params["onSelect"] = '%function(result,response){$(%quote%#' . $this->identifier . '%quote%).trigger(%quote%onSelect%quote%, {%quote%result%quote%: result, %quote%response%quote%:response} );}%'; $searchFields = \json_encode($this->_searchFields); $searchFields = str_ireplace("\"", "%quote%", $searchFields); $this->_params["searchFields"] = "%" . $searchFields . "%"; if ($this->_local === true) { $this->_params["source"] = "%content%"; $this->addEvent("beforeExecute", "var content=" . $this->resultsToJson() . ";"); } if (isset($this->_bsComponent) === false) { $this->_bsComponent = $js->semantic()->search("#" . $this->identifier, $this->_params); } $this->addEventsOnRun($js); return $this->_bsComponent; }
public function run(JsUtils $js) { $js->semantic()->popup("#" . $this->semElement->getIdentifier(), $this->params); }
public function run(JsUtils $js) { $this->_bsComponent = $js->semantic()->generic("#" . $this->identifier); parent::run($js); $this->addEventsOnRun($js); if (isset($this->_popup)) { $this->_popup->run($js); } return $this->_bsComponent; }
/** * {@inheritDoc} * @see \Ajax\semantic\html\base\HtmlSemDoubleElement::run() */ public function run(JsUtils $js) { $this->_params["popup"] = "#" . $this->identifier; $js->semantic()->popup("#" . $this->_container->getIdentifier(), $this->_params); }
public function run(JsUtils $js) { if ($this->propertyContains("class", "simple") === false) { if (isset($this->_bsComponent) === false) { $this->_bsComponent = $js->semantic()->dropdown("#" . $this->identifier, $this->_params); } $this->addEventsOnRun($js); return $this->_bsComponent; } }
public function run(JsUtils $js) { $this->_bsComponent = $js->semantic()->generic("#" . $this->identifier); $this->addEventsOnRun($js); return $this->_bsComponent; }