Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
RessourcePacker Class Reference
+ Collaboration diagram for RessourcePacker:

Static Public Member Functions

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())
 

Detailed Description

JS scripts and CSS stylesheets merger/packer

Author
Anakeen 2011

Definition at line 12 of file Class.RessourcePacker.php.

Member Function Documentation

static pack_css ( Action $action,
array  $static_css = array(),
array  $dynamic_css = array() 
)
static

Pack CSS stylesheets

Parameters
Action$actionThe action on which the resulting CSS will be added
array$static_cssList of static CSS stylesheets to pack
array$dynamic_cssList of dynamic CSS stylesheets to pack

Definition at line 59 of file Class.RessourcePacker.php.

+ Here is the call graph for this function:

static pack_js ( Action $action,
array &  $static_js = array(),
array &  $dynamic_js = array(),
  $extraCode = '' 
)
static

Pack JS scripts

Parameters
Action$actionThe action on which the resulting JS will be added
array$static_jsList of static JS file to pack
array$dynamic_jsList of dynamic JS file to pack
string$extraCodeadd 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:
← centre documentaire © anakeen