Exemplo n.º 1
0
 public function addHeader($title, $niveau = 1, $dividing = true)
 {
     $header = new HtmlHeader("", $niveau, $title);
     if ($dividing) {
         $header->setDividing();
     }
     return $this->addItem($header);
 }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
0
 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;
 }