3 * Smarty Internal Plugin Templateparser Parse Tree
4 * These are classes to build parse tree in the template parser
8 * @author Thue Kristensen
13 * Raw chars as part of a double quoted string.
16 * @subpackage Compiler
19 class Smarty_Internal_ParseTree_DqContent
extends Smarty_Internal_ParseTree
22 * Create parse tree buffer with string content
24 * @param object $parser parser object
25 * @param string $data string section
27 public function __construct($parser, $data)
29 $this->parser
= $parser;
34 * Return content as double quoted string
36 * @return string doubled quoted string
38 public function to_smarty_php()
40 return '"' . $this->data
. '"';