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

51 lines
907 B
PHP
Raw Normal View History

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