phpMv
-UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
Loading...
Searching...
No Matches
HtmlGlyphButton.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Ajax\bootstrap\html
;
4
10
class
HtmlGlyphButton
extends
HtmlButton
{
11
protected
$glyph
;
12
13
public
function
__construct
(
$identifier
,
$glyph
=0, $value=
""
, $cssStyle=
null
, $onClick=
null
) {
14
parent::__construct(
$identifier
, $value, $cssStyle, $onClick);
15
$this->_template=
'<%tagName% id="%identifier%" %properties%>%glyph% %content%</%tagName%>'
;
16
$this->tagName=
"button"
;
17
$this->
setGlyph
(
$glyph
);
18
}
19
20
public
function
setGlyph
(
$glyph
) {
21
$this->glyph=
new
HtmlGlyphicon
($this->identifier.
"-glyph"
);
22
$this->glyph->setGlyphicon(
$glyph
);
23
return
$this;
24
}
25
}
Ajax\bootstrap\html\HtmlButton
Twitter Bootstrap Button component.
Definition
HtmlButton.php:15
Ajax\bootstrap\html\HtmlGlyphButton
Twitter Bootstrap Button component with a Glyph icon.
Definition
HtmlGlyphButton.php:10
Ajax\bootstrap\html\HtmlGlyphButton\__construct
__construct($identifier, $glyph=0, $value="", $cssStyle=null, $onClick=null)
Definition
HtmlGlyphButton.php:13
Ajax\bootstrap\html\HtmlGlyphButton\setGlyph
setGlyph($glyph)
Definition
HtmlGlyphButton.php:20
Ajax\bootstrap\html\HtmlGlyphButton\$glyph
$glyph
Definition
HtmlGlyphButton.php:11
Ajax\bootstrap\html\HtmlGlyphicon
Composant Twitter Bootstrap Glyphicon.
Definition
HtmlGlyphicon.php:14
Ajax\common\html\BaseWidget\$identifier
$identifier
Definition
BaseWidget.php:14
Ajax\bootstrap\html
Ajax
bootstrap
html
HtmlGlyphButton.php
Generated on Sun Dec 10 2023 16:15:53 for
phpMv-UI
by
doxygen
1.9.8