|
eZ Publish
[trunk]
|
Analyses a compiled template tree and tries to optimize certain parts of it. More...
Static Public Member Functions | |
| static | fetchClassDeclaration ($classID) |
| static | optimize ($useComments, &$php, $tpl, &$tree, &$resourceData) |
| static | optimizeFunction ($useComments, &$php, $tpl, &$node, &$resourceData) |
| static | optimizeResourceAcquisition ($useComments, &$php, $tpl, &$var, &$node, &$resourceData) |
| static | optimizeVariable ($useComments, &$php, $tpl, &$data, &$resourceData) |
Analyses a compiled template tree and tries to optimize certain parts of it.
Definition at line 17 of file eztemplateoptimizer.php.
| static eZTemplateOptimizer::fetchClassDeclaration | ( | $ | classID | ) | [static] |
Definition at line 188 of file eztemplateoptimizer.php.
Referenced by eZTemplateCompiler\compileTemplate().
| static eZTemplateOptimizer::optimize | ( | $ | useComments, |
| &$ | php, | ||
| $ | tpl, | ||
| &$ | tree, | ||
| &$ | resourceData | ||
| ) | [static] |
Runs the optimizer
Definition at line 137 of file eztemplateoptimizer.php.
Referenced by eZTemplateCompiler\compileTemplate().
| static eZTemplateOptimizer::optimizeFunction | ( | $ | useComments, |
| &$ | php, | ||
| $ | tpl, | ||
| &$ | node, | ||
| &$ | resourceData | ||
| ) | [static] |
Analyses function nodes and tries to optimize them
Definition at line 71 of file eztemplateoptimizer.php.
Referenced by optimizeVariable().
| static eZTemplateOptimizer::optimizeResourceAcquisition | ( | $ | useComments, |
| &$ | php, | ||
| $ | tpl, | ||
| &$ | var, | ||
| &$ | node, | ||
| &$ | resourceData | ||
| ) | [static] |
Optimizes a resource acquisition node and the variable data before it
Definition at line 22 of file eztemplateoptimizer.php.
Referenced by optimize().
| static eZTemplateOptimizer::optimizeVariable | ( | $ | useComments, |
| &$ | php, | ||
| $ | tpl, | ||
| &$ | data, | ||
| &$ | resourceData | ||
| ) | [static] |
Analyses variables and tries to optimize them
Definition at line 88 of file eztemplateoptimizer.php.
Referenced by optimize(), and optimizeFunction().