freenet-router |
Subversion Repositories: |
Line No. | Rev | Author | Line |
---|---|---|---|
1 | 2 | simandl | <?php |
2 | |
||
3 | namespace Phem\Views; |
||
4 | |
||
5 | use Phem\Core\Collection; |
||
6 | |
||
7 | /** |
||
8 | * |
||
9 | * @author kubapet |
||
10 | */ |
||
11 | abstract class View |
||
12 | { |
||
13 | protected $template; |
||
14 | protected $content; |
||
15 | |
||
16 | function __construct($template, Collection $content) |
||
17 | { |
||
18 | $this->template = $template; |
||
19 | $this->content = $content; |
||
20 | } |
||
21 | |
||
22 | public abstract function display(); |
||
23 | } |