base plugin class
you have to implement the <em>process()</em> method, it will receive the parameters that are in the template code
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
Located in /Dwoo/Plugin.php (line 20)
Class | Description |
---|---|
Dwoo_Block_Plugin | base class for block plugins |
Dwoo_Plugin_counter | Initiates a counter that is incremented every time you call it |
Dwoo_Plugin_cycle | Cycles between several values and returns one of them on each call |
Dwoo_Plugin_dump | Dumps values of the given variable, or the entire data if nothing provided |
Dwoo_Plugin_extends | Extends another template, read more about template inheritance at http://wiki.dwoo.org/index.php/TemplateInheritance |
utility function that converts an array of compiled parameters (or rest array) to a string of xml/html tag attributes
this is to be used in preProcessing or postProcessing functions, example : $p = $compiler->getCompiledParams($params); // get only the rest array as attributes $attributes = Dwoo_Plugin::paramsToAttributes($p['*']); // get all the parameters as attributes (if there is a rest array, it will be included) $attributes = Dwoo_Plugin::paramsToAttributes($p);
Documentation generated on Sat, 18 Jul 2009 21:05:15 +0200 by phpDocumentor 1.4.0