IP/libs/sysplugins/smarty_internal_parsetree.php

55 lines
913 B
PHP
Raw Normal View History

2014-04-01 18:38:34 +00:00
<?php
/**
* Smarty Internal Plugin Templateparser Parsetrees
* These are classes to build parsetrees in the template parser
*
2014-10-13 09:24:53 +00:00
* @package Smarty
2014-04-01 18:38:34 +00:00
* @subpackage Compiler
2014-10-13 09:24:53 +00:00
* @author Thue Kristensen
* @author Uwe Tews
2014-04-01 18:38:34 +00:00
*/
/**
2014-10-13 09:24:53 +00:00
* @package Smarty
2014-04-01 18:38:34 +00:00
* @subpackage Compiler
* @ignore
*/
abstract class Smarty_Internal_ParseTree
2014-04-01 18:38:34 +00:00
{
2014-04-01 18:38:34 +00:00
/**
* Buffer content
2014-10-13 09:24:53 +00:00
*
2014-04-01 18:38:34 +00:00
* @var mixed
*/
public $data;
2014-10-13 09:24:53 +00:00
/**
* Subtree array
*
* @var array
*/
public $subtrees = array();
2014-04-01 18:38:34 +00:00
/**
* Return buffer
*
* @param \Smarty_Internal_Templateparser $parser
2014-04-01 18:38:34 +00:00
*
* @return string buffer content
2014-04-01 18:38:34 +00:00
*/
abstract public function to_smarty_php(Smarty_Internal_Templateparser $parser);
2014-04-01 18:38:34 +00:00
/**
* Template data object destructor
2014-04-01 18:38:34 +00:00
*/
public function __destruct()
2014-04-01 18:38:34 +00:00
{
$this->data = null;
$this->subtrees = null;
2014-04-01 18:38:34 +00:00
}
}