- major update including some API changes

This commit is contained in:
uwe.tews@googlemail.com
2010-11-11 21:34:36 +00:00
parent 93686c695d
commit f044178bad
62 changed files with 3249 additions and 3204 deletions
@@ -13,6 +13,11 @@
* Smarty Internal Plugin Compile Section Class
*/
class Smarty_Internal_Compile_Section extends Smarty_Internal_CompileBase {
// attribute definitions
public $required_attributes = array('name', 'loop');
public $shorttag_order = array('name', 'loop');
public $optional_attributes = array('start', 'step', 'max', 'show');
/**
* Compiles code for the {section} tag
*
@@ -23,8 +28,6 @@ class Smarty_Internal_Compile_Section extends Smarty_Internal_CompileBase {
public function compile($args, $compiler)
{
$this->compiler = $compiler;
$this->required_attributes = array('name', 'loop');
$this->optional_attributes = array('start', 'step', 'max', 'show');
// check and get attributes
$_attr = $this->_get_attributes($args);