Редакция 365 | К новейшей редакции | Содержимое файла | Последнее изменение | Открыть журнал | RSS
Редакция | Автор | № строки | Строка |
---|---|---|---|
364 | alex-w | 1 | <?php |
2 | /** |
||
3 | * |
||
4 | * Codename: ant-ng - generator of sources.list for Debian and |
||
5 | * distributives, based on Debian |
||
6 | * http://alex-w.org.ru/p/antng/ |
||
7 | * |
||
8 | * Copyright (c) 2009 Alexander Wolf |
||
9 | * Dual licensed under the MIT and GNU LGPL licenses. |
||
10 | * http://alex-w.org.ru/p/antng/license |
||
11 | * |
||
12 | */ |
||
13 | |||
14 | /** |
||
15 | * Description of Template |
||
16 | * |
||
17 | * @author alexw |
||
18 | */ |
||
19 | class Template { |
||
20 | private $path = NULL; |
||
21 | |||
22 | function __construct($folder) { |
||
23 | $this->path = $folder; |
||
24 | } |
||
25 | |||
26 | // Применить шаблон |
||
27 | function doTemplate($name) { |
||
28 | //TODO написать функцию шаблонизатора |
||
29 | } |
||
30 | |||
31 | } |
||
32 | ?> |