Class Foundation
Foundation helper contains functions to work with the core assets.
Namespace: foundation\helpers
Package: foundation\helpers
Author: Antonio Ramirez <amigo.cobos@gmail.com>
Located at helpers/Foundation.php
Package: foundation\helpers
Author: Antonio Ramirez <amigo.cobos@gmail.com>
Located at helpers/Foundation.php
Methods summary
public static
|
|
public static
|
#
registerCoreScripts( boolean $useZepto = false, boolean $minimized = true, integer $position = \CClientScript::POS_END )
Registers jQuery and Foundation JavaScript. |
public static
boolean
|
#
isCoreRegistered( boolean $minimized = true, integer $position = \CClientScript::POS_END )
Checks whether the core script has been registered or not |
public static
|
|
public static
|
|
public static
string
|
#
getAssetsUrl( boolean $forceCopyAssets = false, boolean $cdn = false )
Returns the url to the published assets folder. |
public static
mixed
|
|
public static
|
#
registerPlugin( string $name, string $selector, array $options = array(), integer $position = \CClientScript::POS_READY )
Registers a specific plugin using the given selector and options. |
public static
|
#
registerScriptFile( string $asset, integer $position = \CClientScript::POS_END )
Registers a specific js assets file |
public static
|
#
registerEvents( string $selector, string[] $events, integer $position = \CClientScript::POS_READY )
Registers events using the given selector. |
public static
string
|
|
public static
|
#
registerBlockGridIeSupport( integer $position = \CClientScript::POS_END )
Registers block-grid support for ie8 if set by its |
Magic methods summary
Properties summary
protected static
string
|
$assetsUrl |
#
holds the url of Foundation's assets folder |