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