public function addHeader($title, $niveau = 1, $dividing = true) { $header = new HtmlHeader("", $niveau, $title); if ($dividing) { $header->setDividing(); } return $this->addItem($header); }
public function asIcon($icon, $title, $subHeader = NULL) { $header = new HtmlHeader("header-" . $this->identifier); $header->asIcon($icon, $title, $subHeader); if ($this->_inverted === false) { $header->setInverted(); } return $this->setContent($header); }
public static function image($identifier, $image, $niveau = 1, $header = NULL, $subHeader = NULL) { $result = new HtmlHeader($identifier, $niveau, $header); $result->asImage($image, $header, $subHeader); $result->getImage()->addToProperty("class", "mini rounded"); return $result; }