Class Bootstrap
Bootstrap application component.
- CComponent
-
CApplicationComponent implements IApplicationComponent
-
Bootstrap
License: New BSD License
Author: Christoffer Niska <ChristofferNiska@gmail.com>
Located at crisu83/yii-bootstrap/components/Bootstrap.php
Methods summary
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
registerAlert( string $selector = null, array $options = array() )
Registers the Bootstrap alert plugin. |
public
|
#
registerButton( string $selector = null, array $options = array() )
Registers the Bootstrap buttons plugin. |
public
|
#
registerCarousel( string $selector = null, array $options = array() )
Registers the Bootstrap carousel plugin. |
public
|
#
registerCollapse( string $selector = null, array $options = array() )
Registers the Bootstrap collapse plugin. |
public
|
#
registerDropdown( string $selector = null, array $options = array() )
Registers the Bootstrap dropdowns plugin. |
public
|
#
registerModal( string $selector = null, array $options = array() )
Registers the Bootstrap modal plugin. |
public
|
#
registerScrollSpy( string $selector = null, array $options = array() )
Registers the Bootstrap scrollspy plugin. |
public
|
#
registerPopover( string $selector = null, array $options = array() )
Registers the Bootstrap popover plugin. |
public
|
#
registerTabs( string $selector = null, array $options = array() )
Registers the Bootstrap tabs plugin. |
public
|
#
registerTooltip( string $selector = null, array $options = array() )
Registers the Bootstrap tooltip plugin. |
public
|
#
registerTypeahead( string $selector = null, array $options = array() )
Registers the Bootstrap typeahead plugin. |
protected
|
#
registerPlugin( string $name, string $selector = null, array $options = array(), string $defaultSelector = null )
Registers a Bootstrap JavaScript plugin. |
protected
string
|
|
public
string
|
Methods inherited from CApplicationComponent
getIsInitialized()
Methods inherited from CComponent
__call()
,
__get()
,
__isset()
,
__set()
,
__unset()
,
asa()
,
attachBehavior()
,
attachBehaviors()
,
attachEventHandler()
,
canGetProperty()
,
canSetProperty()
,
detachBehavior()
,
detachBehaviors()
,
detachEventHandler()
,
disableBehavior()
,
disableBehaviors()
,
enableBehavior()
,
enableBehaviors()
,
evaluateExpression()
,
getEventHandlers()
,
hasEvent()
,
hasEventHandler()
,
hasProperty()
,
raiseEvent()
Magic methods summary
Constants summary
string |
PLUGIN_ALERT
|
'alert' |
|
string |
PLUGIN_BUTTON
|
'button' |
|
string |
PLUGIN_CAROUSEL
|
'carousel' |
|
string |
PLUGIN_COLLAPSE
|
'collapse' |
|
string |
PLUGIN_DROPDOWN
|
'dropdown' |
|
string |
PLUGIN_MODAL
|
'modal' |
|
string |
PLUGIN_POPOVER
|
'popover' |
|
string |
PLUGIN_SCROLLSPY
|
'scrollspy' |
|
string |
PLUGIN_TAB
|
'tab' |
|
string |
PLUGIN_TOOLTIP
|
'tooltip' |
|
string |
PLUGIN_TRANSITION
|
'transition' |
|
string |
PLUGIN_TYPEAHEAD
|
'typeahead' |
Properties summary
public
boolean
|
$coreCss |
#
whether to register the Bootstrap core CSS (bootstrap.min.css). Defaults to true. |
public
boolean
|
$responsiveCss |
#
whether to register the Bootstrap responsive CSS (bootstrap-responsive.min.css). Defaults to false. |
public
boolean
|
$yiiCss |
#
whether to register the Yii-specific CSS missing from Bootstrap. |
public
boolean
|
$enableJS |
#
whether to register jQuery and the Bootstrap JavaScript. |
public
array
|
$plugins |
#
plugin initial options (name=>options). Each array key-value pair represents the initial options for a single plugin class, with the array key being the plugin name, and array value being the initial options array. |
public
string
|
$popoverSelector |
#
default popover CSS selector. |
public
string
|
$tooltipSelector |
#
default tooltip CSS selector. |
protected
mixed
|
$_assetsUrl |
Properties inherited from CApplicationComponent
$behaviors
Magic properties inherited from CApplicationComponent
$isInitialized