1 | <?php |
||
17 | class Template extends CompressableExternalModule |
||
|
|||
18 | { |
||
19 | /** Event when main page rendering has started */ |
||
20 | const E_MAIN_STARTED = 'template.main.started'; |
||
21 | |||
22 | /** Event when main page rendering has finished */ |
||
23 | const E_MAIN_RENDERED= 'template.main.rendered'; |
||
24 | |||
25 | /** Event when #template-menu rendering has started */ |
||
26 | const E_MENU_STARTED = 'template.menu.started'; |
||
27 | |||
28 | /** Event when #template-menu rendering has finished */ |
||
29 | const E_MENU_RENDERED = 'template.menu.rendered'; |
||
30 | |||
31 | /** Event when #e404 rendering has started */ |
||
32 | const E_E404_STARTED = 'template.e404.started'; |
||
33 | |||
34 | /** Event when #e404 rendering has finished */ |
||
35 | const E_E404_RENDERED = 'template.e404.rendered'; |
||
36 | |||
37 | |||
38 | /** @var bool Flag to show SamsonCMS logo in menu */ |
||
39 | public $menuLogo = 'www/menu/img/logo_w.png'; |
||
40 | |||
41 | |||
42 | /** @var string Module identifier */ |
||
43 | protected $id = 'template'; |
||
44 | |||
45 | /** Subscribed to e404 */ |
||
46 | //p0ublic function init(array $params = array()) |
||
47 | //{ |
||
48 | // Event::subscribe('core.e404', array($this, '__e404')); |
||
49 | //} |
||
50 | |||
51 | /** |
||
52 | * Universal controller action, this is SamsonCMS main page |
||
53 | * rendering. |
||
54 | */ |
||
55 | public function __handler() |
||
68 | |||
69 | /** #template-menu rendering controller action */ |
||
70 | public function __menu() |
||
110 | |||
111 | /** E404 controller action */ |
||
112 | function __e404() |
||
131 | } |
||
132 |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.