Line | |
---|
1 | <?php |
---|
2 | |
---|
3 | /** |
---|
4 | * This is used only when rendering a template that has blocks but is not extending anything, |
---|
5 | * it doesn't do anything by itself and should not be used outside of template inheritance context, |
---|
6 | * see {@link http://wiki.dwoo.org/index.php/TemplateInheritance} to read more about it. |
---|
7 | * |
---|
8 | * This software is provided 'as-is', without any express or implied warranty. |
---|
9 | * In no event will the authors be held liable for any damages arising from the use of this software. |
---|
10 | * |
---|
11 | * @author Jordi Boggiano <j.boggiano@seld.be> |
---|
12 | * @copyright Copyright (c) 2008, Jordi Boggiano |
---|
13 | * @license http://dwoo.org/LICENSE Modified BSD License |
---|
14 | * @link http://dwoo.org/ |
---|
15 | * @version 1.0.0 |
---|
16 | * @date 2008-10-23 |
---|
17 | * @package Dwoo |
---|
18 | */ |
---|
19 | class Dwoo_Plugin_block extends Dwoo_Block_Plugin implements Dwoo_ICompilable_Block |
---|
20 | { |
---|
21 | public function init($name='') |
---|
22 | { |
---|
23 | } |
---|
24 | |
---|
25 | public static function preProcessing(Dwoo_Compiler $compiler, array $params, $prepend, $append, $type) |
---|
26 | { |
---|
27 | return ''; |
---|
28 | } |
---|
29 | |
---|
30 | public static function postProcessing(Dwoo_Compiler $compiler, array $params, $prepend, $append, $content) |
---|
31 | { |
---|
32 | return $content; |
---|
33 | } |
---|
34 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.