|
static | pack_js (Action &$action, array &$static_js=array(), array &$dynamic_js=array(), $extraCode= '') |
|
static | pack_css (Action &$action, array $static_css=array(), array $dynamic_css=array()) |
|
JS scripts and CSS stylesheets merger/packer
- Author
- Anakeen 2011
Definition at line 12 of file Class.RessourcePacker.php.
static pack_css |
( |
Action & |
$action, |
|
|
array |
$static_css = array() , |
|
|
array |
$dynamic_css = array() |
|
) |
| |
|
static |
Pack CSS stylesheets
- Parameters
-
Action | $action | The action on which the resulting CSS will be added |
array | $static_css | List of static CSS stylesheets to pack |
array | $dynamic_css | List of dynamic CSS stylesheets to pack |
Definition at line 59 of file Class.RessourcePacker.php.
static pack_js |
( |
Action & |
$action, |
|
|
array & |
$static_js = array() , |
|
|
array & |
$dynamic_js = array() , |
|
|
|
$extraCode = '' |
|
) |
| |
|
static |
Pack JS scripts
- Parameters
-
Action | $action | The action on which the resulting JS will be added |
array | $static_js | List of static JS file to pack |
array | $dynamic_js | List of dynamic JS file to pack |
string | $extraCode | add js code before including file |
- Returns
- boolean true
Definition at line 24 of file Class.RessourcePacker.php.
The documentation for this class was generated from the following file: