@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | $module_data = Config::instance()->module('Photo_gallery'); |
38 | 38 | if (!$module_data->directory_created) { |
39 | 39 | $this->storage()->mkdir('Photo_gallery'); |
40 | - $module_data->directory_created = 1; |
|
40 | + $module_data->directory_created = 1; |
|
41 | 41 | } |
42 | 42 | } |
43 | 43 | /** |
@@ -68,12 +68,12 @@ discard block |
||
68 | 68 | function get ($id) { |
69 | 69 | if (is_array($id)) { |
70 | 70 | foreach ($id as &$i) { |
71 | - $i = $this->get($i); |
|
71 | + $i = $this->get($i); |
|
72 | 72 | } |
73 | 73 | return $id; |
74 | 74 | } |
75 | - $L = Language::instance(); |
|
76 | - $id = (int)$id; |
|
75 | + $L = Language::instance(); |
|
76 | + $id = (int)$id; |
|
77 | 77 | return $this->cache->get("images/$id/$L->clang", function () use ($id) { |
78 | 78 | $data = $this->db()->qf([ |
79 | 79 | "SELECT |
@@ -91,8 +91,8 @@ discard block |
||
91 | 91 | $id |
92 | 92 | ]); |
93 | 93 | if ($data) { |
94 | - $data['title'] = $this->ml_process($data['title']); |
|
95 | - $data['description'] = $this->ml_process($data['description']); |
|
94 | + $data['title'] = $this->ml_process($data['title']); |
|
95 | + $data['description'] = $this->ml_process($data['description']); |
|
96 | 96 | } |
97 | 97 | return $data; |
98 | 98 | }); |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | if (!filter_var($original, FILTER_VALIDATE_URL)) { |
115 | 115 | return false; |
116 | 116 | } |
117 | - $gallery = (int)$gallery; |
|
117 | + $gallery = (int)$gallery; |
|
118 | 118 | if ($this->db_prime()->q( |
119 | 119 | "INSERT INTO `[prefix]photo_gallery_images` |
120 | 120 | ( |
@@ -135,7 +135,7 @@ discard block |
||
135 | 135 | time(), |
136 | 136 | $original |
137 | 137 | )) { |
138 | - $id = $this->db_prime()->id(); |
|
138 | + $id = $this->db_prime()->id(); |
|
139 | 139 | if ($this->set($id, $title, $description)) { |
140 | 140 | Event::instance()->fire( |
141 | 141 | 'System/upload_files/add_tag', |
@@ -144,10 +144,10 @@ discard block |
||
144 | 144 | 'url' => $original |
145 | 145 | ] |
146 | 146 | ); |
147 | - $hash = md5(random_bytes(1000)); |
|
148 | - $tmp_file = TEMP.'/'.User::instance()->id."_$hash"; |
|
147 | + $hash = md5(random_bytes(1000)); |
|
148 | + $tmp_file = TEMP.'/'.User::instance()->id."_$hash"; |
|
149 | 149 | try { |
150 | - $SimpleImage = new SimpleImage($original); |
|
150 | + $SimpleImage = new SimpleImage($original); |
|
151 | 151 | $SimpleImage->thumbnail(256)->save($tmp_file = "$tmp_file.".$SimpleImage->get_original_info()['format']); |
152 | 152 | unset($SimpleImage); |
153 | 153 | } catch (Exception $e) { |
@@ -155,7 +155,7 @@ discard block |
||
155 | 155 | trigger_error($e->getMessage(), E_USER_WARNING); |
156 | 156 | return false; |
157 | 157 | } |
158 | - $storage = $this->storage(); |
|
158 | + $storage = $this->storage(); |
|
159 | 159 | if (!$storage->file_exists("Photo_gallery/$gallery")) { |
160 | 160 | $storage->mkdir("Photo_gallery/$gallery"); |
161 | 161 | } |
@@ -197,10 +197,10 @@ discard block |
||
197 | 197 | * @return bool |
198 | 198 | */ |
199 | 199 | function set ($id, $title, $description) { |
200 | - $User = User::instance(); |
|
201 | - $id = (int)$id; |
|
202 | - $title = xap(trim($title)); |
|
203 | - $description = xap(trim($description)); |
|
200 | + $User = User::instance(); |
|
201 | + $id = (int)$id; |
|
202 | + $title = xap(trim($title)); |
|
203 | + $description = xap(trim($description)); |
|
204 | 204 | if ($this->db_prime()->q( |
205 | 205 | "UPDATE `[prefix]photo_gallery_images` |
206 | 206 | SET |
@@ -232,8 +232,8 @@ discard block |
||
232 | 232 | * @return bool |
233 | 233 | */ |
234 | 234 | function del ($id) { |
235 | - $id = (int)$id; |
|
236 | - $data = $this->get($id); |
|
235 | + $id = (int)$id; |
|
236 | + $data = $this->get($id); |
|
237 | 237 | if ($this->db_prime()->q( |
238 | 238 | "DELETE FROM `[prefix]photo_gallery_images` |
239 | 239 | WHERE `id` = $id |
@@ -248,7 +248,7 @@ discard block |
||
248 | 248 | ] |
249 | 249 | ); |
250 | 250 | $this->storage()->unlink($this->storage()->source_by_url($data['preview'])); |
251 | - $Cache = $this->cache; |
|
251 | + $Cache = $this->cache; |
|
252 | 252 | unset( |
253 | 253 | $Cache->{"images/$id"}, |
254 | 254 | $Cache->{"galleries/$data[gallery]"} |
@@ -264,9 +264,9 @@ discard block |
||
264 | 264 | * @return array|false |
265 | 265 | */ |
266 | 266 | function get_galleries_list () { |
267 | - $L = Language::instance(); |
|
267 | + $L = Language::instance(); |
|
268 | 268 | return $this->cache->get("galleries/list/$L->clang", function () { |
269 | - $data = []; |
|
269 | + $data = []; |
|
270 | 270 | foreach ( |
271 | 271 | $this->db()->qfas( |
272 | 272 | "SELECT `id` |
@@ -275,7 +275,7 @@ discard block |
||
275 | 275 | ORDER BY `order` ASC" |
276 | 276 | ) as $gallery |
277 | 277 | ) { |
278 | - $data[$this->get_gallery($gallery)['path']] = $gallery; |
|
278 | + $data[$this->get_gallery($gallery)['path']] = $gallery; |
|
279 | 279 | } |
280 | 280 | return $data; |
281 | 281 | }); |
@@ -290,12 +290,12 @@ discard block |
||
290 | 290 | function get_gallery ($id) { |
291 | 291 | if (is_array($id)) { |
292 | 292 | foreach ($id as &$i) { |
293 | - $i = $this->get_gallery($i); |
|
293 | + $i = $this->get_gallery($i); |
|
294 | 294 | } |
295 | 295 | return $id; |
296 | 296 | } |
297 | - $L = Language::instance(); |
|
298 | - $id = (int)$id; |
|
297 | + $L = Language::instance(); |
|
298 | + $id = (int)$id; |
|
299 | 299 | return $this->cache->get("galleries/$id/$L->clang", function () use ($id) { |
300 | 300 | if ($data = $this->db()->qf([ |
301 | 301 | "SELECT |
@@ -315,17 +315,17 @@ discard block |
||
315 | 315 | LIMIT 1", |
316 | 316 | $id |
317 | 317 | ])) { |
318 | - $data['title'] = $this->ml_process($data['title']); |
|
319 | - $data['path'] = $this->ml_process($data['path']); |
|
320 | - $data['description'] = $this->ml_process($data['description']); |
|
321 | - $order = $data['preview_image'] == 'first' ? 'ASC' : 'DESC'; |
|
322 | - $data['preview'] = $this->db()->qfs( |
|
318 | + $data['title'] = $this->ml_process($data['title']); |
|
319 | + $data['path'] = $this->ml_process($data['path']); |
|
320 | + $data['description'] = $this->ml_process($data['description']); |
|
321 | + $order = $data['preview_image'] == 'first' ? 'ASC' : 'DESC'; |
|
322 | + $data['preview'] = $this->db()->qfs( |
|
323 | 323 | "SELECT `preview` |
324 | 324 | FROM `[prefix]photo_gallery_images` |
325 | 325 | WHERE `gallery` = $data[id] |
326 | 326 | ORDER BY `id` $order" |
327 | 327 | ) ?: ''; |
328 | - $data['images'] = $this->db()->qfas( |
|
328 | + $data['images'] = $this->db()->qfas( |
|
329 | 329 | "SELECT `id` |
330 | 330 | FROM `[prefix]photo_gallery_images` |
331 | 331 | WHERE `gallery` = $data[id] |
@@ -354,7 +354,7 @@ discard block |
||
354 | 354 | ('%s')", |
355 | 355 | (int)(bool)$active |
356 | 356 | )) { |
357 | - $id = $this->db_prime()->id(); |
|
357 | + $id = $this->db_prime()->id(); |
|
358 | 358 | $this->set_gallery($id, $title, $path, $description, $active, $preview_image); |
359 | 359 | return $id; |
360 | 360 | } |
@@ -373,10 +373,10 @@ discard block |
||
373 | 373 | * @return bool |
374 | 374 | */ |
375 | 375 | function set_gallery ($id, $title, $path, $description, $active, $preview_image) { |
376 | - $path = path($path ?: $title); |
|
377 | - $title = xap(trim($title)); |
|
378 | - $description = xap(trim($description)); |
|
379 | - $id = (int)$id; |
|
376 | + $path = path($path ?: $title); |
|
377 | + $title = xap(trim($title)); |
|
378 | + $description = xap(trim($description)); |
|
379 | + $id = (int)$id; |
|
380 | 380 | if ($this->db_prime()->q( |
381 | 381 | "UPDATE `[prefix]photo_gallery_galleries` |
382 | 382 | SET |
@@ -394,7 +394,7 @@ discard block |
||
394 | 394 | $preview_image, |
395 | 395 | $id |
396 | 396 | )) { |
397 | - $Cache = $this->cache; |
|
397 | + $Cache = $this->cache; |
|
398 | 398 | unset( |
399 | 399 | $Cache->{"galleries/$id"}, |
400 | 400 | $Cache->{'galleries/list'} |
@@ -412,7 +412,7 @@ discard block |
||
412 | 412 | * @return bool |
413 | 413 | */ |
414 | 414 | function del_gallery ($id) { |
415 | - $id = (int)$id; |
|
415 | + $id = (int)$id; |
|
416 | 416 | if (!$this->db_prime()->q( |
417 | 417 | "DELETE FROM `[prefix]photo_gallery_galleries` |
418 | 418 | WHERE `id` = '%s' |
@@ -424,12 +424,12 @@ discard block |
||
424 | 424 | $this->ml_del('Photo_gallery/galleries/title', $id); |
425 | 425 | $this->ml_del('Photo_gallery/galleries/path', $id); |
426 | 426 | $this->ml_del('Photo_gallery/galleries/description', $id); |
427 | - $Cache = $this->cache; |
|
427 | + $Cache = $this->cache; |
|
428 | 428 | unset( |
429 | 429 | $Cache->{"galleries/$id"}, |
430 | 430 | $Cache->{'galleries/list'} |
431 | 431 | ); |
432 | - $images = $this->db()->qfas([ |
|
432 | + $images = $this->db()->qfas([ |
|
433 | 433 | "SELECT `id` |
434 | 434 | FROM `[prefix]photo_gallery_images` |
435 | 435 | WHERE `gallery` = '%s'", |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @package Photo gallery |
|
4 | - * @category modules |
|
5 | - * @author Nazar Mokrynskyi <[email protected]> |
|
6 | - * @copyright Copyright (c) 2013-2016, Nazar Mokrynskyi |
|
7 | - * @license MIT License, see license.txt |
|
8 | - */ |
|
3 | + * @package Photo gallery |
|
4 | + * @category modules |
|
5 | + * @author Nazar Mokrynskyi <[email protected]> |
|
6 | + * @copyright Copyright (c) 2013-2016, Nazar Mokrynskyi |
|
7 | + * @license MIT License, see license.txt |
|
8 | + */ |
|
9 | 9 | namespace cs\modules\Photo_gallery; |
10 | 10 | use |
11 | 11 | cs\Cache\Prefix, |
@@ -17,9 +17,9 @@ |
||
17 | 17 | if ($data['name'] != 'Photo_gallery') { |
18 | 18 | return; |
19 | 19 | } |
20 | - $module_data = Config::instance()->module('Photo_gallery'); |
|
21 | - $storage = Storage::instance()->{$module_data->storage('files')}; |
|
22 | - $Photo_gallery = Photo_gallery::instance(); |
|
20 | + $module_data = Config::instance()->module('Photo_gallery'); |
|
21 | + $storage = Storage::instance()->{$module_data->storage('files')}; |
|
22 | + $Photo_gallery = Photo_gallery::instance(); |
|
23 | 23 | foreach ($Photo_gallery->get_galleries_list() as $gallery) { |
24 | 24 | $Photo_gallery->del_gallery($gallery); |
25 | 25 | } |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @package Photo gallery |
|
4 | - * @category modules |
|
5 | - * @author Nazar Mokrynskyi <[email protected]> |
|
6 | - * @copyright Copyright (c) 2013-2016, Nazar Mokrynskyi |
|
7 | - * @license MIT License, see license.txt |
|
8 | - */ |
|
3 | + * @package Photo gallery |
|
4 | + * @category modules |
|
5 | + * @author Nazar Mokrynskyi <[email protected]> |
|
6 | + * @copyright Copyright (c) 2013-2016, Nazar Mokrynskyi |
|
7 | + * @license MIT License, see license.txt |
|
8 | + */ |
|
9 | 9 | namespace cs\modules\Photo_gallery; |
10 | 10 | use |
11 | 11 | cs\Cache\Prefix, |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | |
56 | 56 | const DEFAULT_IMAGE = 'components/modules/Shop/includes/img/no-image.svg'; |
57 | 57 | |
58 | - protected $data_model = [ |
|
58 | + protected $data_model = [ |
|
59 | 59 | 'id' => 'int', |
60 | 60 | 'date' => 'int', |
61 | 61 | 'category' => 'int', |
@@ -443,7 +443,7 @@ discard block |
||
443 | 443 | 'string' => '', |
444 | 444 | 'text' => '' |
445 | 445 | ]; |
446 | - $lang = ''; |
|
446 | + $lang = ''; |
|
447 | 447 | switch ($this->attribute_type_to_value_field($attribute_data['type'])) { |
448 | 448 | case 'numeric_value': |
449 | 449 | $value_type['numeric'] = $value; |
@@ -286,17 +286,20 @@ |
||
286 | 286 | $where = []; |
287 | 287 | $where_params = []; |
288 | 288 | foreach ($search_parameters as $key => $details) { |
289 | - if (isset($this->data_model[$key])) { // Property |
|
289 | + if (isset($this->data_model[$key])) { |
|
290 | +// Property |
|
290 | 291 | $where[] = "`i`.`$key` = '%s'"; |
291 | 292 | $where_params[] = $details; |
292 | - } elseif (is_numeric($key)) { // Tag |
|
293 | + } elseif (is_numeric($key)) { |
|
294 | +// Tag |
|
293 | 295 | $joins .= |
294 | 296 | "INNER JOIN `{$this->table}_tags` AS `t` |
295 | 297 | ON |
296 | 298 | `i`.`id` = `t`.`id` AND |
297 | 299 | `t`.`tag` = '%s'"; |
298 | 300 | $where_params[] = $details; |
299 | - } else { // Attribute |
|
301 | + } else { |
|
302 | +// Attribute |
|
300 | 303 | $field = @$this->attribute_type_to_value_field($Attributes->get($key)['type']); |
301 | 304 | if (!$field || empty($details)) { |
302 | 305 | continue; |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @package Shop |
|
4 | - * @category modules |
|
5 | - * @author Nazar Mokrynskyi <[email protected]> |
|
6 | - * @copyright Copyright (c) 2014-2016, Nazar Mokrynskyi |
|
7 | - * @license MIT License, see license.txt |
|
8 | - */ |
|
3 | + * @package Shop |
|
4 | + * @category modules |
|
5 | + * @author Nazar Mokrynskyi <[email protected]> |
|
6 | + * @copyright Copyright (c) 2014-2016, Nazar Mokrynskyi |
|
7 | + * @license MIT License, see license.txt |
|
8 | + */ |
|
9 | 9 | namespace cs\modules\Shop; |
10 | 10 | use |
11 | 11 | h, |
@@ -67,7 +67,7 @@ |
||
67 | 67 | |
68 | 68 | const PAYMENT_METHOD_CASH = 'shop:cash'; |
69 | 69 | |
70 | - protected $data_model = [ |
|
70 | + protected $data_model = [ |
|
71 | 71 | 'id' => 'int', |
72 | 72 | 'user' => 'int', |
73 | 73 | 'date' => 'int', |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @package Shop |
|
4 | - * @category modules |
|
5 | - * @author Nazar Mokrynskyi <[email protected]> |
|
6 | - * @copyright Copyright (c) 2014-2016, Nazar Mokrynskyi |
|
7 | - * @license MIT License, see license.txt |
|
8 | - */ |
|
3 | + * @package Shop |
|
4 | + * @category modules |
|
5 | + * @author Nazar Mokrynskyi <[email protected]> |
|
6 | + * @copyright Copyright (c) 2014-2016, Nazar Mokrynskyi |
|
7 | + * @license MIT License, see license.txt |
|
8 | + */ |
|
9 | 9 | namespace cs\modules\Shop; |
10 | 10 | use |
11 | 11 | h, |
@@ -113,7 +113,7 @@ |
||
113 | 113 | if (!$items) { |
114 | 114 | return; |
115 | 115 | } |
116 | -$items_total = $Items->search( |
|
116 | +$items_total = $Items->search( |
|
117 | 117 | [ |
118 | 118 | 'listed' => 1, |
119 | 119 | 'category' => $current_category, |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @package Shop |
|
4 | - * @category modules |
|
5 | - * @author Nazar Mokrynskyi <[email protected]> |
|
6 | - * @copyright Copyright (c) 2014-2016, Nazar Mokrynskyi |
|
7 | - * @license MIT License, see license.txt |
|
8 | - */ |
|
3 | + * @package Shop |
|
4 | + * @category modules |
|
5 | + * @author Nazar Mokrynskyi <[email protected]> |
|
6 | + * @copyright Copyright (c) 2014-2016, Nazar Mokrynskyi |
|
7 | + * @license MIT License, see license.txt |
|
8 | + */ |
|
9 | 9 | namespace cs\modules\Shop; |
10 | 10 | use |
11 | 11 | h, |
@@ -23,7 +23,7 @@ |
||
23 | 23 | ':', |
24 | 24 | array_slice(Route::instance()->path, -1)[0] |
25 | 25 | ); |
26 | -$item = $Items->get_for_user(array_pop($item)); |
|
26 | +$item = $Items->get_for_user(array_pop($item)); |
|
27 | 27 | $Page->title($item['title']); |
28 | 28 | $Page->Description = description($item['description']); |
29 | 29 | $Page->canonical_url( |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @package Shop |
|
4 | - * @category modules |
|
5 | - * @author Nazar Mokrynskyi <[email protected]> |
|
6 | - * @copyright Copyright (c) 2014-2016, Nazar Mokrynskyi |
|
7 | - * @license MIT License, see license.txt |
|
8 | - */ |
|
3 | + * @package Shop |
|
4 | + * @category modules |
|
5 | + * @author Nazar Mokrynskyi <[email protected]> |
|
6 | + * @copyright Copyright (c) 2014-2016, Nazar Mokrynskyi |
|
7 | + * @license MIT License, see license.txt |
|
8 | + */ |
|
9 | 9 | namespace cs\modules\Shop; |
10 | 10 | use |
11 | 11 | h, |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | $L = new Prefix('shop_'); |
19 | 19 | $Language = Language::instance(); |
20 | 20 | $Page = Page::instance(); |
21 | -$Session = Session::instance(); |
|
21 | +$Session = Session::instance(); |
|
22 | 22 | $Categories = Categories::instance(); |
23 | 23 | $Items = Items::instance(); |
24 | 24 | $Orders = Orders::instance(); |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | $page = @$_GET['page'] ?: 1; |
28 | 28 | $count = @$_GET['count'] ?: Config::instance()->module('Shop')->items_per_page; |
29 | 29 | if ($Session->user()) { |
30 | - $orders = $Orders->get($Orders->search( |
|
30 | + $orders = $Orders->get($Orders->search( |
|
31 | 31 | [ |
32 | 32 | 'user' => $Session->get_user() |
33 | 33 | ] + (array)$_GET, |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @package Shop |
|
4 | - * @category modules |
|
5 | - * @author Nazar Mokrynskyi <[email protected]> |
|
6 | - * @copyright Copyright (c) 2014-2016, Nazar Mokrynskyi |
|
7 | - * @license MIT License, see license.txt |
|
8 | - */ |
|
3 | + * @package Shop |
|
4 | + * @category modules |
|
5 | + * @author Nazar Mokrynskyi <[email protected]> |
|
6 | + * @copyright Copyright (c) 2014-2016, Nazar Mokrynskyi |
|
7 | + * @license MIT License, see license.txt |
|
8 | + */ |
|
9 | 9 | namespace cs\modules\Shop; |
10 | 10 | use |
11 | 11 | h, |
@@ -20,7 +20,7 @@ |
||
20 | 20 | use |
21 | 21 | CRUD, |
22 | 22 | Singleton; |
23 | - protected $data_model = [ |
|
23 | + protected $data_model = [ |
|
24 | 24 | 'id' => 'int', |
25 | 25 | 'title' => 'ml:text', |
26 | 26 | 'path' => 'ml:text', |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @package Static Pages |
|
4 | - * @category modules |
|
5 | - * @author Nazar Mokrynskyi <[email protected]> |
|
6 | - * @copyright Copyright (c) 2011-2016, Nazar Mokrynskyi |
|
7 | - * @license MIT License, see license.txt |
|
8 | - */ |
|
3 | + * @package Static Pages |
|
4 | + * @category modules |
|
5 | + * @author Nazar Mokrynskyi <[email protected]> |
|
6 | + * @copyright Copyright (c) 2011-2016, Nazar Mokrynskyi |
|
7 | + * @license MIT License, see license.txt |
|
8 | + */ |
|
9 | 9 | namespace cs\modules\Static_pages; |
10 | 10 | use |
11 | 11 | cs\CRUD, |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | use |
22 | 22 | CRUD, |
23 | 23 | Singleton; |
24 | - protected $data_model = [ |
|
24 | + protected $data_model = [ |
|
25 | 25 | 'id' => 'int', |
26 | 26 | 'category' => 'int', |
27 | 27 | 'title' => 'ml:text', |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | $Categories->get($parent) |
165 | 165 | ); |
166 | 166 | } |
167 | - $pages = $this->db()->qfas( |
|
167 | + $pages = $this->db()->qfas( |
|
168 | 168 | [ |
169 | 169 | "SELECT `id` |
170 | 170 | FROM `[prefix]static_pages` |
@@ -177,7 +177,7 @@ discard block |
||
177 | 177 | $structure['pages'][$this->get($id)['path']] = $id; |
178 | 178 | } |
179 | 179 | unset($pages); |
180 | - $categories = $this->db()->qfa( |
|
180 | + $categories = $this->db()->qfa( |
|
181 | 181 | [ |
182 | 182 | "SELECT |
183 | 183 | `id`, |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @package Static Pages |
|
4 | - * @category modules |
|
5 | - * @author Nazar Mokrynskyi <[email protected]> |
|
6 | - * @copyright Copyright (c) 2011-2016, Nazar Mokrynskyi |
|
7 | - * @license MIT License, see license.txt |
|
8 | - */ |
|
3 | + * @package Static Pages |
|
4 | + * @category modules |
|
5 | + * @author Nazar Mokrynskyi <[email protected]> |
|
6 | + * @copyright Copyright (c) 2011-2016, Nazar Mokrynskyi |
|
7 | + * @license MIT License, see license.txt |
|
8 | + */ |
|
9 | 9 | namespace cs\modules\Static_pages; |
10 | 10 | use |
11 | 11 | cs\CRUD, |