Total Complexity | 3 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | class Smarty_Internal_ParseTree_Text extends Smarty_Internal_ParseTree |
||
18 | { |
||
19 | |||
20 | /** |
||
21 | * Wether this section should be stripped on output to smarty php |
||
22 | * @var bool |
||
23 | */ |
||
24 | private $toBeStripped = false; |
||
25 | |||
26 | /** |
||
27 | * Create template text buffer |
||
28 | * |
||
29 | * @param string $data text |
||
30 | * @param bool $toBeStripped wether this section should be stripped on output to smarty php |
||
31 | */ |
||
32 | public function __construct($data, $toBeStripped = false) |
||
33 | { |
||
34 | $this->data = $data; |
||
35 | $this->toBeStripped = $toBeStripped; |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * Wether this section should be stripped on output to smarty php |
||
40 | * @return bool |
||
41 | */ |
||
42 | public function isToBeStripped() { |
||
44 | } |
||
45 | |||
46 | /** |
||
47 | * Return buffer content |
||
48 | * |
||
49 | * @param \Smarty_Internal_Templateparser $parser |
||
50 | * |
||
51 | * @return string text |
||
52 | */ |
||
53 | public function to_smarty_php(Smarty_Internal_Templateparser $parser) |
||
56 | } |
||
57 | } |
||
58 |