| 1 | <?php |
||
| 5 | class PhpView implements View |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var array |
||
| 9 | */ |
||
| 10 | protected $vars = array(); |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var |
||
| 14 | */ |
||
| 15 | protected $template; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param string $template |
||
| 19 | * @return PhpView |
||
| 20 | */ |
||
| 21 | public function setTemplate($template) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param string $key |
||
| 30 | * @param mixed $value |
||
| 31 | * |
||
| 32 | * @return PhpView |
||
| 33 | */ |
||
| 34 | public function assign($key, $value) |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return string |
||
| 43 | */ |
||
| 44 | public function render() |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @return string |
||
| 57 | */ |
||
| 58 | protected function xmlProlog() |
||
| 62 | } |
||
| 63 |