1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hubzilla_ynh.git synced 2024-09-03 19:26:21 +02:00
hubzilla_ynh/sources/library/Smarty/libs/sysplugins/smarty_internal_parsetree.php

55 lines
913 B
PHP
Raw Normal View History

<?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
{
2016-01-12 02:47:38 +01: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
*
2016-01-12 02:47:38 +01:00
* @return string buffer content
*/
2016-01-12 02:47:38 +01:00
abstract public function to_smarty_php(Smarty_Internal_Templateparser $parser);
/**
2016-01-12 02:47:38 +01:00
* Template data object destructor
*/
2016-01-12 02:47:38 +01:00
public function __destruct()
{
2016-01-12 02:47:38 +01:00
$this->data = null;
$this->subtrees = null;
}
}