gluon-web-remote

Web remote Administration for big size of gluon routers
git clone git://archive.git.mtrnord.blog/MTRNord/gluon-web-remote.git
Log | Files | Refs | README

commit 480ea454b55b6cea21b15c26102b4e2799cc34be
parent fd7fe7e9ad0a8fe32bb4aa4b244d4917d2b8c670
Author: Marcel <MTRNord@users.noreply.github.com>
Date:   Sat, 31 Oct 2015 17:44:58 +0100

Create smarty_internal_parsetree_text.php
Diffstat:
Alibs/smarty/sysplugins/smarty_internal_parsetree_text.php | 40++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+), 0 deletions(-)

diff --git a/libs/smarty/sysplugins/smarty_internal_parsetree_text.php b/libs/smarty/sysplugins/smarty_internal_parsetree_text.php @@ -0,0 +1,40 @@ +<?php + +/** + * Smarty Internal Plugin Templateparser Parse Tree + * These are classes to build parse tree in the template parser + * + * @package Smarty + * @subpackage Compiler + * @author Thue Kristensen + * @author Uwe Tews + * * + * template text + * @package Smarty + * @subpackage Compiler + * @ignore + */ +class Smarty_Internal_ParseTree_Text extends Smarty_Internal_ParseTree +{ + /** + * Create template text buffer + * + * @param object $parser parser object + * @param string $data text + */ + public function __construct($parser, $data) + { + $this->parser = $parser; + $this->data = $data; + } + + /** + * Return buffer content + * + * @return string text + */ + public function to_smarty_php() + { + return $this->data; + } +}