46 lines
665 B
PHP
46 lines
665 B
PHP
<?php
|
|
|
|
namespace Smarty\ParseTree;
|
|
|
|
/**
|
|
* Smarty Internal Plugin Templateparser ParseTree
|
|
* These are classes to build parsetree in the template parser
|
|
*
|
|
|
|
|
|
* @author Thue Kristensen
|
|
* @author Uwe Tews
|
|
*/
|
|
|
|
/**
|
|
|
|
|
|
* @ignore
|
|
*/
|
|
abstract class Base
|
|
{
|
|
/**
|
|
* Buffer content
|
|
*
|
|
* @var mixed
|
|
*/
|
|
public $data;
|
|
|
|
/**
|
|
* Subtree array
|
|
*
|
|
* @var array
|
|
*/
|
|
public $subtrees = array();
|
|
|
|
/**
|
|
* Return buffer
|
|
*
|
|
* @param \Smarty\Parser\TemplateParser $parser
|
|
*
|
|
* @return string buffer content
|
|
*/
|
|
abstract public function to_smarty_php(\Smarty\Parser\TemplateParser $parser);
|
|
|
|
}
|