phpMv -UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
Loading...
Searching...
No Matches
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}
Base class for Semantic double elements.
addToProperty($name, $value, $separator=" ")
addToPropertyCtrl($name, $value, $typeCtrl)
Semantic UI divider component.
setFitted()
fitted, without any space above or below it
__construct($identifier, $content="", $tagName="div")