phpMv -UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
Loading...
Searching...
No Matches
HtmlRail.php
Go to the documentation of this file.
1<?php
3
5
12
13 public function __construct($identifier, $content = NULL) {
14 parent::__construct($identifier, 'div', 'ui rail', $content);
15 }
16
17 private function updateType(string $type) {
18 $this->addToProperty('class', $type);
19 return $this;
20 }
21
22 public function setLeft() {
23 return $this->updateType('left');
24 }
25
26 public function setRight() {
27 return $this->updateType('right');
28 }
29
30 public function setInternal() {
31 return $this->updateType('internal');
32 }
33
34 public function setDividing() {
35 return $this->updateType('dividing');
36 }
37
38 public function setClose() {
39 return $this->updateType('close');
40 }
41}
Base class for Semantic double elements.
addToProperty($name, $value, $separator=" ")
__construct($identifier, $content=NULL)
Definition HtmlRail.php:13