phpMv -UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
|
Public Member Functions | |
__construct ($autoCompile=true) | |
htmlButton ($identifier, $value="", $cssStyle=null, $onClick=null) | |
Return a new Bootstrap Html Button. | |
htmlGlyphButton ($identifier, $glyphIcon=0, $value="", $cssStyle=NULL, $onClick=NULL) | |
Return a new Bootstrap Html Glyphbutton. | |
htmlButtongroups ($identifier, $values=array(), $cssStyle=NULL, $size=NULL) | |
Return a new Bootstrap Html Buttongroups. | |
htmlDropdown ($identifier, $value="", $items=array(), $cssStyle=NULL, $size=NULL) | |
Return a new Bootstrap Html Dropdown. | |
htmlButtontoolbar ($identifier, $elements=array(), $cssStyle=NULL, $size=NULL) | |
Return a new Bootstrap Html Dropdown. | |
htmlNavbar ($identifier, $brand="Brand", $brandHref="#") | |
Return a new Bootstrap Html Navbar. | |
htmlProgressbar ($identifier, $style="info", $value=0, $max=100, $min=0) | |
Return a new Bootstrap Html Progressbar. | |
htmlPanel ($identifier, $content=NULL, $header=NULL, $footer=NULL) | |
Return a new Bootstrap Html Panel. | |
htmlAlert ($identifier, $message=NULL, $cssStyle="alert-warning") | |
Return a new Bootstrap Html Alert. | |
htmlAccordion ($identifier) | |
Return a new Bootstrap Accordion. | |
htmlCarousel ($identifier, $images=NULL) | |
Return a new Bootstrap Html Carousel. | |
htmlTabs ($identifier) | |
Return a new Bootstrap Html tabs. | |
htmlListgroup ($identifier, $items=array(), $tagName="ul") | |
Return a new Bootstrap Html listGroup. | |
htmlModal ($identifier, $title="", $content="", $buttonCaptions=array()) | |
Return a new Bootstrap Html modal dialog. | |
htmlSplitbutton ($identifier, $value="", $items=array(), $cssStyle="btn-default", $onClick=NULL) | |
Return a new Bootstrap Html SplitButton. | |
htmlInputgroup ($identifier) | |
Return a new Bootstrap Html InputGroup. | |
htmlBreadcrumbs ($identifier, $elements=array(), $autoActive=true, $startIndex=0, $hrefFunction=NULL) | |
Return a new Bootstrap Html Breadcrumbs. | |
htmlPagination ($identifier, $from=1, $to=1, $active=NULL, $countVisible=NULL) | |
Return a new Bootstrap Html Pagination. | |
htmlGridSystem ($identifier, $numRows=1, $numCols=NULL) | |
Return a new Bootstrap Html Grid system. | |
Public Member Functions inherited from BaseGui | |
isAutoCompile () | |
setAutoCompile ($autoCompile) | |
compile ($internal=false) | |
setJs (JsUtils $js) | |
addComponent (SimpleComponent $component, $attachTo, $params) | |
addHtmlComponent (BaseHtml $htmlComponent) | |
compileHtml (JsUtils $js=NULL, &$view=NULL) | |
matchHtmlComponents ($callback) | |
getHtmlComponent ($identifier) | |
Public Member Functions inherited from BootstrapComponentsTrait | |
addComponent (SimpleComponent $component, $attachTo, $params) | |
generic ($attachTo=NULL, $params=NULL) | |
modal ($attachTo=NULL, $params=NULL) | |
tooltip ($attachTo=NULL, $params=NULL) | |
popover ($attachTo=NULL, $params=NULL) | |
dropdown ($attachTo=NULL, $params=NULL) | |
splitbutton ($attachTo=NULL, $params=NULL) | |
tab ($attachTo=NULL, $params=NULL) | |
collapse ($attachTo=NULL, $params=NULL) | |
carousel ($attachTo=NULL, $params=NULL) | |
Additional Inherited Members | |
Protected Attributes inherited from BaseGui | |
$autoCompile | |
$components | |
$htmlComponents | |
$js | |
Definition at line 27 of file Bootstrap.php.
__construct | ( | $autoCompile = true | ) |
Reimplemented from BaseGui.
Definition at line 28 of file Bootstrap.php.
htmlAccordion | ( | $identifier | ) |
Return a new Bootstrap Accordion.
string | $identifier |
Definition at line 145 of file Bootstrap.php.
htmlAlert | ( | $identifier, | |
$message = NULL , |
|||
$cssStyle = "alert-warning" |
|||
) |
Return a new Bootstrap Html Alert.
string | $identifier | |
string | $message | |
string | $cssStyle |
Definition at line 136 of file Bootstrap.php.
htmlBreadcrumbs | ( | $identifier, | |
$elements = array() , |
|||
$autoActive = true , |
|||
$startIndex = 0 , |
|||
$hrefFunction = NULL |
|||
) |
Return a new Bootstrap Html Breadcrumbs.
string | $identifier | |
array | $elements | |
boolean | $autoActive | sets the last element's class to active if true. default : true |
callable | $hrefFunction | the function who generates the href elements. default : function($e){return $e->getContent()} |
Definition at line 221 of file Bootstrap.php.
htmlButton | ( | $identifier, | |
$value = "" , |
|||
$cssStyle = null , |
|||
$onClick = null |
|||
) |
Return a new Bootstrap Html Button.
string | $identifier | |
string | $value | |
string | $cssStyle | |
string | $onClick |
Definition at line 41 of file Bootstrap.php.
htmlButtongroups | ( | $identifier, | |
$values = array() , |
|||
$cssStyle = NULL , |
|||
$size = NULL |
|||
) |
Return a new Bootstrap Html Buttongroups.
string | $identifier | |
array | $values | |
string | $cssStyle | |
string | $size |
Definition at line 66 of file Bootstrap.php.
htmlButtontoolbar | ( | $identifier, | |
$elements = array() , |
|||
$cssStyle = NULL , |
|||
$size = NULL |
|||
) |
Return a new Bootstrap Html Dropdown.
string | $identifier | |
array | $elements | |
string | $cssStyle | |
string | $size |
Definition at line 90 of file Bootstrap.php.
htmlCarousel | ( | $identifier, | |
$images = NULL |
|||
) |
Return a new Bootstrap Html Carousel.
string | $identifier | |
array | $images | [(src=>"",alt=>"",caption=>"",description=>""),...] |
Definition at line 155 of file Bootstrap.php.
htmlDropdown | ( | $identifier, | |
$value = "" , |
|||
$items = array() , |
|||
$cssStyle = NULL , |
|||
$size = NULL |
|||
) |
Return a new Bootstrap Html Dropdown.
string | $identifier | |
array | $items | |
string | $cssStyle | |
string | $size |
Definition at line 78 of file Bootstrap.php.
htmlGlyphButton | ( | $identifier, | |
$glyphIcon = 0 , |
|||
$value = "" , |
|||
$cssStyle = NULL , |
|||
$onClick = NULL |
|||
) |
Return a new Bootstrap Html Glyphbutton.
string | $identifier | |
mixed | $glyphIcon | |
string | $value | |
string | $cssStyle | |
string | $onClick |
Definition at line 54 of file Bootstrap.php.
htmlGridSystem | ( | $identifier, | |
$numRows = 1 , |
|||
$numCols = NULL |
|||
) |
Return a new Bootstrap Html Grid system.
string | $identifier | |
int | $numRows | |
int | $numCols |
Definition at line 246 of file Bootstrap.php.
htmlInputgroup | ( | $identifier | ) |
Return a new Bootstrap Html InputGroup.
string | $identifier |
Definition at line 209 of file Bootstrap.php.
htmlListgroup | ( | $identifier, | |
$items = array() , |
|||
$tagName = "ul" |
|||
) |
Return a new Bootstrap Html listGroup.
string | $identifier | |
array | $items | array of items to add |
string | $tagName | container tagName |
Definition at line 174 of file Bootstrap.php.
htmlModal | ( | $identifier, | |
$title = "" , |
|||
$content = "" , |
|||
$buttonCaptions = array() |
|||
) |
Return a new Bootstrap Html modal dialog.
string | $identifier | |
string | $title | |
string | $content | |
array | $buttonCaptions |
Definition at line 187 of file Bootstrap.php.
htmlNavbar | ( | $identifier, | |
$brand = "Brand" , |
|||
$brandHref = "#" |
|||
) |
Return a new Bootstrap Html Navbar.
string | $identifier | |
string | $brand | |
string | $brandHref |
Definition at line 101 of file Bootstrap.php.
htmlPagination | ( | $identifier, | |
$from = 1 , |
|||
$to = 1 , |
|||
$active = NULL , |
|||
$countVisible = NULL |
|||
) |
Return a new Bootstrap Html Pagination.
string | $identifier | |
int | $from | default : 1 |
int | $to | default : 1 |
int | $active | The active page |
Definition at line 234 of file Bootstrap.php.
htmlPanel | ( | $identifier, | |
$content = NULL , |
|||
$header = NULL , |
|||
$footer = NULL |
|||
) |
Return a new Bootstrap Html Panel.
string | $identifier | the Html identifier of the element |
mixed | $content | the panel content (string or HtmlComponent) |
string | $header | the header |
string | $footer | the footer |
Definition at line 125 of file Bootstrap.php.
htmlProgressbar | ( | $identifier, | |
$style = "info" , |
|||
$value = 0 , |
|||
$max = 100 , |
|||
$min = 0 |
|||
) |
Return a new Bootstrap Html Progressbar.
string | $identifier | |
string | $value | |
string | $max | |
string | $min |
Definition at line 113 of file Bootstrap.php.
htmlSplitbutton | ( | $identifier, | |
$value = "" , |
|||
$items = array() , |
|||
$cssStyle = "btn-default" , |
|||
$onClick = NULL |
|||
) |
Return a new Bootstrap Html SplitButton.
string | $identifier | |
string | $value | |
array | $items | |
string | $cssStyle | |
string | $onClick |
Definition at line 200 of file Bootstrap.php.
htmlTabs | ( | $identifier | ) |
Return a new Bootstrap Html tabs.
string | $identifier |
Definition at line 164 of file Bootstrap.php.