Property | Type | Description | |
---|---|---|---|
$app | App_Web | ||
$chain_class | Name of jQuery_Chain class | ||
$included | array |
Method | Description | |
---|---|---|
addInclude ( string $file, string $ext = '.js' ) | Locate javascript file and add it to HTML's head section. | |
addOnReady ( jQuery_Chain | string $js ) | Add custom code into onReady section. Will be executed under $(function(){ . | |
addStaticInclude ( string $file, string $ext = '.js' ) | Adds static includes | |
addStaticStylesheet ( string $file, string $ext = '.css', string $locate = 'css' ) | Adds static stylesheet | |
addStylesheet ( string $file, string $ext = '.css', string $locate = 'css' ) | Locate stylesheet file and add it to HTML's head section. | |
chain ( AbstractObject $object ) : jQuery_Chain | [private] use $object->js() instead. | |
cutRender ( ) | [private] When partial render is done, this function includes JS for rendered region. | |
getJS ( AbstractView $obj ) : string | [private] Collect JavaScript chains from specified object and add them into onReady section. | |
init ( ) | Initialization | |
postRender ( ) | [private] . |
public addInclude ( string $file, string $ext = '.js' ) | ||
$file | string | |
$ext | string |
public addOnReady ( jQuery_Chain | string $js ) | ||
$js | jQuery_Chain | string |
public addStaticInclude ( string $file, string $ext = '.js' ) | ||
$file | string | |
$ext | string |
public chain ( AbstractObject $object ) : jQuery_Chain | ||
$object | AbstractObject | |
return | jQuery_Chain |
public cutRender ( ) |