Files
fusionpbx/resources/templates/engine/smarty/sysplugins/smarty_internal_parsetree.php
T

51 lines
907 B
PHP
Raw Normal View History

2016-04-25 20:30:23 -05:00
<?php
/**
2018-11-07 07:18:14 +00:00
* Smarty Internal Plugin Templateparser Parsetree
* These are classes to build parsetree in the template parser
2016-04-25 20:30:23 -05:00
*
2018-11-07 07:18:14 +00:00
* @package Smarty
2016-04-25 20:30:23 -05:00
* @subpackage Compiler
2018-11-07 07:18:14 +00:00
* @author Thue Kristensen
* @author Uwe Tews
2016-04-25 20:30:23 -05:00
*/
/**
2018-11-07 07:18:14 +00:00
* @package Smarty
2016-04-25 20:30:23 -05:00
* @subpackage Compiler
* @ignore
*/
2018-11-07 07:18:14 +00:00
abstract class Smarty_Internal_ParseTree
2016-04-25 20:30:23 -05:00
{
/**
* Buffer content
2018-11-07 07:18:14 +00:00
*
2016-04-25 20:30:23 -05:00
* @var mixed
*/
public $data;
/**
2018-11-07 07:18:14 +00:00
* Subtree array
2016-04-25 20:30:23 -05:00
*
* @var array
*/
2018-11-07 07:18:14 +00:00
public $subtrees = array();
2016-04-25 20:30:23 -05:00
/**
2018-11-07 07:18:14 +00:00
* Return buffer
2016-04-25 20:30:23 -05:00
*
2018-11-07 07:18:14 +00:00
* @param \Smarty_Internal_Templateparser $parser
2016-04-25 20:30:23 -05:00
*
2018-11-07 07:18:14 +00:00
* @return string buffer content
2016-04-25 20:30:23 -05:00
*/
2018-11-07 07:18:14 +00:00
abstract public function to_smarty_php(Smarty_Internal_Templateparser $parser);
2016-04-25 20:30:23 -05:00
/**
2018-11-07 07:18:14 +00:00
* Template data object destructor
2016-04-25 20:30:23 -05:00
*/
2018-11-07 07:18:14 +00:00
public function __destruct()
2016-04-25 20:30:23 -05:00
{
2018-11-07 07:18:14 +00:00
$this->data = null;
$this->subtrees = null;
2016-04-25 20:30:23 -05:00
}
}