phpMv
-UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
|
Twitter Bootstrap HTML Navbar component. More...
Public Member Functions | |
__construct ($identifier, $brand="Brand", $brandHref="#") | |
setClass ($class) | |
setBrand ($brand) | |
setBrandHref ($brandHref) | |
setBrandTarget ($brandTarget) | |
setBrandImage ($imageSrc) | |
addZone ($type="nav", $identifier=NULL) | |
adds a new zone of type $type More... | |
addElement ($element, HtmlNavzone $zone=NULL) | |
addElements ($elements, HtmlNavzone $zone=NULL) | |
fromArray ($array) | |
/* (non-PHPdoc) More... | |
setNavZones ($navZones) | |
getZoneToInsertIn ($zone=NULL) | |
getZone ($index) | |
run (JsUtils $js) | |
cssInverse () | |
scrollspy ($attachTo="body") | |
setFluid ($fluid) | |
fromDatabaseObject ($object, $function) | |
![]() | |
run (JsUtils $js) | |
getTagName () | |
setTagName ($tagName) | |
fromArray ($array) | |
fromDatabaseObjects ($objects, $function) | |
fromDatabaseObject ($object, $function) | |
wrap ($before, $after="") | |
getElementById ($identifier, $elements) | |
getBsComponent () | |
setBsComponent ($bsComponent) | |
compile (JsUtils $js=NULL, &$view=NULL) | |
setDraggable ($attr="id", $dropZone=null, $parameters=[]) | |
Sets the element draggable, and eventualy defines the dropzone (HTML5 drag and drop) More... | |
asDropZone ($jsCallback="", $jqueryDone="append", $parameters=[]) | |
Declares the element as a drop zone (HTML5 drag and drop) More... | |
asFileDropZone ($responseElement=null, $url=null, $progress=null, $jsCallback="", $parameters=[]) | |
Declares the element as a drop zone for file uploading (HTML5 drag and drop) More... | |
__toString () | |
onPostCompile ($callback) | |
onPreCompile ($callback) | |
![]() | |
__construct ($identifier) | |
getIdentifier () | |
setIdentifier ($identifier) | |
getLibraryId () | |
setLibraryId ($_libraryId) | |
Protected Attributes | |
$navZones | |
$class ="navbar-default" | |
$brand ="Brand" | |
$brandHref ="#" | |
$brandTarget ="_self" | |
$brandImage ="" | |
$scrollspy | |
$hasScrollspy =false | |
$scrollspyId ="body" | |
$fluid ="container-fluid" | |
![]() | |
$_template | |
$tagName | |
$_wrapBefore = array() | |
$_wrapAfter = array() | |
$_bsComponent | |
$_compiled = false | |
$_runned = false | |
$_postCompile | |
$_preCompile | |
![]() | |
$identifier | |
$_identifier | |
$_libraryId | |
$_self | |
Additional Inherited Members | |
![]() | |
getTemplate (JsUtils $js=NULL, $view=null) | |
ctrl ($name, $value, $typeCtrl) | |
setMemberCtrl (&$name, $value, $typeCtrl) | |
addToMemberUnique (&$name, $value, $typeCtrl, $separator=" ") | |
addToMemberCtrl (&$name, $value, $typeCtrl, $separator=" ") | |
addToMember (&$name, $value, $separator=' ') | |
removeOldValues (&$oldValue, $allValues) | |
_getElementBy ($callback, $elements) | |
setWrapBefore ($wrapBefore) | |
setWrapAfter ($wrapAfter) | |
compile_once (JsUtils $js=NULL, &$view=NULL) | |
![]() | |
cleanIdentifier ($id) | |
__construct | ( | $identifier, | |
$brand = "Brand" , |
|||
$brandHref = "#" |
|||
) |
string | $identifier | the id |
Definition at line 32 of file HtmlNavbar.php.
addElement | ( | $element, | |
HtmlNavzone | $zone = NULL |
||
) |
Definition at line 84 of file HtmlNavbar.php.
addElements | ( | $elements, | |
HtmlNavzone | $zone = NULL |
||
) |
Definition at line 91 of file HtmlNavbar.php.
addZone | ( | $type = "nav" , |
|
$identifier = NULL |
|||
) |
adds a new zone of type $type
string | $type | one of nav, form, btn, right, left |
string | $identifier |
Definition at line 74 of file HtmlNavbar.php.
cssInverse | ( | ) |
Definition at line 169 of file HtmlNavbar.php.
fromArray | ( | $array | ) |
fromDatabaseObject | ( | $object, | |
$function | |||
) |
Definition at line 191 of file HtmlNavbar.php.
getZone | ( | $index | ) |
getZoneToInsertIn | ( | $zone = NULL | ) |
run | ( | JsUtils | $js | ) |
Definition at line 157 of file HtmlNavbar.php.
scrollspy | ( | $attachTo = "body" | ) |
Definition at line 174 of file HtmlNavbar.php.
setBrand | ( | $brand | ) |
Definition at line 47 of file HtmlNavbar.php.
setBrandHref | ( | $brandHref | ) |
Definition at line 52 of file HtmlNavbar.php.
setBrandImage | ( | $imageSrc | ) |
Definition at line 62 of file HtmlNavbar.php.
setBrandTarget | ( | $brandTarget | ) |
Definition at line 57 of file HtmlNavbar.php.
setClass | ( | $class | ) |
Definition at line 42 of file HtmlNavbar.php.
setFluid | ( | $fluid | ) |
Definition at line 179 of file HtmlNavbar.php.
setNavZones | ( | $navZones | ) |
Definition at line 105 of file HtmlNavbar.php.
|
protected |
Definition at line 19 of file HtmlNavbar.php.
|
protected |
Definition at line 20 of file HtmlNavbar.php.
|
protected |
Definition at line 22 of file HtmlNavbar.php.
|
protected |
Definition at line 21 of file HtmlNavbar.php.
|
protected |
Definition at line 18 of file HtmlNavbar.php.
|
protected |
Definition at line 26 of file HtmlNavbar.php.
|
protected |
Definition at line 24 of file HtmlNavbar.php.
|
protected |
Definition at line 17 of file HtmlNavbar.php.
|
protected |
Definition at line 23 of file HtmlNavbar.php.
|
protected |
Definition at line 25 of file HtmlNavbar.php.