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
2
namespace
Ajax\semantic\html\elements
;
3
4
use
Ajax\semantic\html\base\HtmlSemDoubleElement
;
5
11
class
HtmlRail
extends
HtmlSemDoubleElement
{
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
}
Ajax\common\html\BaseWidget\$identifier
$identifier
Definition
BaseWidget.php:14
Ajax\common\html\HtmlDoubleElement\$content
$content
Definition
HtmlDoubleElement.php:14
Ajax\semantic\html\base\HtmlSemDoubleElement
Base class for Semantic double elements.
Definition
HtmlSemDoubleElement.php:23
Ajax\semantic\html\base\traits\BaseTrait\addToProperty
addToProperty($name, $value, $separator=" ")
Ajax\semantic\html\elements\HtmlRail
Definition
HtmlRail.php:11
Ajax\semantic\html\elements\HtmlRail\setRight
setRight()
Definition
HtmlRail.php:26
Ajax\semantic\html\elements\HtmlRail\setLeft
setLeft()
Definition
HtmlRail.php:22
Ajax\semantic\html\elements\HtmlRail\setInternal
setInternal()
Definition
HtmlRail.php:30
Ajax\semantic\html\elements\HtmlRail\__construct
__construct($identifier, $content=NULL)
Definition
HtmlRail.php:13
Ajax\semantic\html\elements\HtmlRail\setClose
setClose()
Definition
HtmlRail.php:38
Ajax\semantic\html\elements\HtmlRail\updateType
updateType(string $type)
Definition
HtmlRail.php:17
Ajax\semantic\html\elements\HtmlRail\setDividing
setDividing()
Definition
HtmlRail.php:34
Ajax\semantic\html\elements
Ajax
semantic
html
elements
HtmlRail.php
Generated on Sun Dec 10 2023 16:16:08 for
phpMv-UI
by
doxygen
1.9.8