Class Widget
Class Widget
- CWidget
-
foundation\widgets\base\Widget
Direct known subclasses
foundation\widgets\Alert,
foundation\widgets\base\Input,
foundation\widgets\Reveal,
foundation\widgets\Section,
foundation\widgets\Tooltip,
foundation\widgets\TopBar,
foundation\widgets\Breadcrumbs,
foundation\widgets\Clearing,
foundation\widgets\Dropdown,
foundation\widgets\FlexVideo,
foundation\widgets\Interchange,
foundation\widgets\JoyRide,
foundation\widgets\Magellan,
foundation\widgets\Orbit
Indirect known subclasses
Package: foundation\widgets\base
Located at widgets/base/Widget.php
Methods summary
public
|
|
public
|
#
registerPlugin( string $name, string $selector, array $options = array(), integer $position = \CClientScript::POS_READY )
Registers a specific plugin using the given selector and options. |
public
|
#
registerEvents( string $selector, string[] $events, integer $position = \CClientScript::POS_READY )
Registers events using the given selector. |
public
|
#
registerAssets( )
Registers the assets. Makes sure the assets pre-existed on the published folder prior registration. |
public static
string
|
Magic methods summary
Properties summary
public
array
|
$htmlOptions |
#
the HTML attributes for the breadcrumbs. |
public
array
|
$links |
#
list of links to appear in the breadcrumbs. |
public
array
|
$assets |
#
list of the assets the plugin requires. it holds the following format:
'assets' => array(
'css' => 'file.css',
'js' => 'file.js')
),
...
'assets' => array(
'css' => array(
'file1.css',
'file2.css'
),
'js' => array(
'file1.js',
'file2.js'
)
)
|