private function createContent($content, $baseClass = "content") { $count = \sizeof($this->content); $result = new HtmlCardContent("content-" . $count . "-" . $this->identifier, $content); $result->setClass($baseClass); return $result; }
/** * * {@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); }