/** * * {@inheritDoc} * * @see \Ajax\semantic\html\base\HtmlSemDoubleElement::compile() */ public function compile(JsUtils $js = NULL, &$view = NULL) { if (\is_array($this->content)) { $this->content = JArray::sortAssociative($this->content, ["icon", "image", "content"]); } return parent::compile($js, $view); }
/** * * {@inheritDoc} * * @see \Ajax\semantic\html\base\HtmlSemDoubleElement::compile() */ public function compile(JsUtils $js = NULL, &$view = NULL) { $this->content = JArray::sortAssociative($this->content, ["thead", "tbody", "tfoot"]); if ($this->propertyContains("class", "sortable")) { $this->addEvent("execute", "\$('#" . $this->identifier . "').tablesort();"); } return parent::compile($js, $view); }
/** * * {@inheritDoc} * * @see \Ajax\semantic\html\base\HtmlSemDoubleElement::compile() */ public function compile(JsUtils $js = NULL, $view = NULL) { $this->content = JArray::sortAssociative($this->content, ["header", "image", "content", "extra-content"]); return parent::compile($js, $view); }
/** * * {@inheritDoc} * * @see \Ajax\semantic\html\base\HtmlSemDoubleElement::compile() */ public function compile(JsUtils $js = NULL, &$view = NULL) { $this->content = JArray::sortAssociative($this->content, ["bar", "label"]); return parent::compile($js, $view); }
/** * * {@inheritDoc} * * @see \Ajax\semantic\html\base\HtmlSemDoubleElement::compile() */ public function compile(JsUtils $js = NULL, &$view = NULL) { $this->content = JArray::sortAssociative($this->content, ["image", "header", "meta", "description"]); return parent::compile($js, $view); }