Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
52 | private function split(PHPTAL $template, array $context) |
||
53 | { |
||
54 | foreach ($context as $key => $value) { |
||
55 | $template->set($key, $value); |
||
56 | } |
||
57 | |||
58 | $sHtml = $template->execute(); |
||
59 | |||
60 | list($this->top, $middle, $this->bottom) = explode(self::DELIMINATOR, $sHtml); |
||
61 | unset($middle); |
||
62 | } |
||
63 | |||
75 |