@@ -31,7 +31,7 @@ |
||
31 | 31 | 'module' => 'text', |
32 | 32 | 'data' => 'json' |
33 | 33 | ]; |
34 | - protected $table = '[prefix]deferred_tasks_tasks'; |
|
34 | + protected $table = '[prefix]deferred_tasks_tasks'; |
|
35 | 35 | /** |
36 | 36 | * @var int |
37 | 37 | */ |
@@ -21,7 +21,7 @@ |
||
21 | 21 | use |
22 | 22 | CRUD_helpers, |
23 | 23 | Singleton; |
24 | - protected $data_model = [ |
|
24 | + protected $data_model = [ |
|
25 | 25 | 'id' => 'int', |
26 | 26 | 'category' => 'int', |
27 | 27 | 'title' => 'ml:text', |
@@ -21,7 +21,7 @@ |
||
21 | 21 | use |
22 | 22 | CRUD_helpers, |
23 | 23 | Singleton; |
24 | - protected $data_model = [ |
|
24 | + protected $data_model = [ |
|
25 | 25 | 'id' => 'int', |
26 | 26 | 'title' => 'ml:text', |
27 | 27 | 'path' => 'ml:text', |
@@ -226,7 +226,7 @@ |
||
226 | 226 | * |
227 | 227 | * @return array|false |
228 | 228 | */ |
229 | - protected static function &get_block_by_index ($index) { |
|
229 | + protected static function &get_block_by_index($index) { |
|
230 | 230 | /** |
231 | 231 | * @var array $blocks |
232 | 232 | */ |
@@ -122,7 +122,7 @@ |
||
122 | 122 | 'value', |
123 | 123 | 'id' |
124 | 124 | ); |
125 | - $data['users'] = array_column( |
|
125 | + $data['users'] = array_column( |
|
126 | 126 | $User->db()->qfa( |
127 | 127 | "SELECT |
128 | 128 | `id`, |
@@ -34,7 +34,7 @@ |
||
34 | 34 | Clean the whole system public cache: |
35 | 35 | <g>./cli clean_public_cache:System/optimization</g> |
36 | 36 | |
37 | -HELP; |
|
37 | +help; |
|
38 | 38 | } |
39 | 39 | /** |
40 | 40 | * Clean cache |
@@ -36,6 +36,6 @@ |
||
36 | 36 | Print help information (this message) for System module: |
37 | 37 | <g>./cli help:System</g> |
38 | 38 | |
39 | -HELP; |
|
39 | +help; |
|
40 | 40 | } |
41 | 41 | } |
@@ -27,7 +27,7 @@ |
||
27 | 27 | * @var Prefix |
28 | 28 | */ |
29 | 29 | protected $cache; |
30 | - protected $data_model = [ |
|
30 | + protected $data_model = [ |
|
31 | 31 | 'id' => 'int', |
32 | 32 | 'poll' => 'int', |
33 | 33 | 'title' => 'ml:string', |
@@ -27,7 +27,7 @@ |
||
27 | 27 | * @var Prefix |
28 | 28 | */ |
29 | 29 | protected $cache; |
30 | - protected $data_model = [ |
|
30 | + protected $data_model = [ |
|
31 | 31 | 'id' => 'int', |
32 | 32 | 'title' => 'ml:string' |
33 | 33 | ]; |