3 * Smarty Internal Plugin Templateparser Parsetrees
4 * These are classes to build parsetrees in the template parser
8 * @author Thue Kristensen
14 * Raw chars as part of a double quoted string.
17 * @subpackage Compiler
20 class Smarty_Internal_ParseTree_DqContent
extends Smarty_Internal_ParseTree
23 * Create parse tree buffer with string content
25 * @param object $parser parser object
26 * @param string $data string section
28 public function __construct($parser, $data)
30 $this->parser
= $parser;
35 * Return content as double quoted string
37 * @return string doubled quoted string
39 public function to_smarty_php()
41 return '"' . $this->data
. '"';