1 | <?php namespace EvolutionCMS\Legacy; |
||
3 | class ModuleCategoriesManager extends Categories |
||
|
|||
4 | { |
||
5 | /** |
||
6 | * @var array |
||
7 | */ |
||
8 | public $params = array(); |
||
9 | /** |
||
10 | * @var array |
||
11 | */ |
||
12 | public $translations = array(); |
||
13 | /** |
||
14 | * @var array |
||
15 | */ |
||
16 | public $new_translations = array(); |
||
17 | |||
18 | |||
19 | /** |
||
20 | * Set a paramter key and its value |
||
21 | * |
||
22 | * @return null |
||
23 | * @param string $key paramter key |
||
24 | * @param mixed $value parameter value - could be mixed value-types |
||
25 | */ |
||
26 | public function set($key, $value) |
||
32 | |||
33 | |||
34 | /** |
||
35 | * Get a parameter value |
||
36 | * |
||
37 | * @return string return the parameter value if exists, otherwise false |
||
38 | * @param string $key Paramter-key |
||
39 | */ |
||
40 | public function get($key) |
||
54 | |||
55 | |||
56 | /** |
||
57 | * @param string $message |
||
58 | * @param string $namespace |
||
59 | */ |
||
60 | public function addMessage($message, $namespace = 'default') |
||
64 | |||
65 | |||
66 | /** |
||
67 | * @param string $namespace |
||
68 | * @return bool |
||
69 | */ |
||
70 | public function getMessages($namespace = 'default') |
||
78 | |||
79 | |||
80 | /** |
||
81 | * @param string $view_name |
||
82 | * @param array $data |
||
83 | */ |
||
84 | public function renderView($view_name, $data = array()) |
||
103 | |||
104 | /** |
||
105 | * @param string $element |
||
106 | * @param int $element_id |
||
107 | * @param int $category_id |
||
108 | * @return bool |
||
109 | */ |
||
110 | public function updateElement($element, $element_id, $category_id) |
||
126 | |||
127 | |||
128 | /** |
||
129 | * @param string $txt |
||
130 | * @return string |
||
131 | */ |
||
132 | public function txt($txt) |
||
141 | } |
||
142 |
This check marks property names that have not been written in camelCase.
In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. Thus the name database connection string becomes
databaseConnectionString
.