phpMv  -UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
HtmlDivider.php
Go to the documentation of this file.
1 <?php
2 
4 
6 
15 
16  public function __construct($identifier, $content="", $tagName="div") {
17  parent::__construct($identifier, $tagName, "ui divider");
18  $this->content=$content;
19  }
20 
25  public function setVertical() {
26  return $this->addToPropertyCtrl("class", "vertical", array ("vertical","horizontal" ));
27  }
28 
33  public function setHorizontal() {
34  return $this->addToPropertyCtrl("class", "horizontal", array ("vertical","horizontal" ));
35  }
36 
41  public function setHidden() {
42  return $this->addToProperty("class", "hidden");
43  }
44 
49  public function setFitted() {
50  return $this->addToProperty("class", "fitted");
51  }
52 
57  public function asHeader() {
58  return $this->addToProperty("class", "header");
59  }
60 
64  public function setIgnored(){
65  return $this->addToProperty("class", "ignored");
66  }
67 }
addToProperty($name, $value, $separator=" ")
__construct($identifier, $content="", $tagName="div")
Definition: HtmlDivider.php:16
setFitted()
fitted, without any space above or below it
Definition: HtmlDivider.php:49
Semantic UI divider component.
Definition: HtmlDivider.php:14
Base class for Semantic double elements.
addToPropertyCtrl($name, $value, $typeCtrl)