@@ -1,10 +1,10 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @package CleverStyle CMS |
|
| 4 | - * @author Nazar Mokrynskyi <[email protected]> |
|
| 5 | - * @copyright Copyright (c) 2011-2016, Nazar Mokrynskyi |
|
| 6 | - * @license MIT License, see license.txt |
|
| 7 | - */ |
|
| 3 | + * @package CleverStyle CMS |
|
| 4 | + * @author Nazar Mokrynskyi <[email protected]> |
|
| 5 | + * @copyright Copyright (c) 2011-2016, Nazar Mokrynskyi |
|
| 6 | + * @license MIT License, see license.txt |
|
| 7 | + */ |
|
| 8 | 8 | namespace cs\h; |
| 9 | 9 | use |
| 10 | 10 | nazarpc\BananaHTML, |
@@ -13,8 +13,8 @@ discard block |
||
| 13 | 13 | cs\Page, |
| 14 | 14 | cs\Session; |
| 15 | 15 | /** |
| 16 | - * Class for HTML code rendering in accordance with the standards of HTML5, and with useful syntax extensions for simpler usage |
|
| 17 | - */ |
|
| 16 | + * Class for HTML code rendering in accordance with the standards of HTML5, and with useful syntax extensions for simpler usage |
|
| 17 | + */ |
|
| 18 | 18 | abstract class Base extends BananaHTML { |
| 19 | 19 | /** |
| 20 | 20 | * Special processing for URLs with hash |
@@ -1,21 +1,21 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @package CleverStyle CMS |
|
| 4 | - * @author Nazar Mokrynskyi <[email protected]> |
|
| 5 | - * @copyright Copyright (c) 2014-2016, Nazar Mokrynskyi |
|
| 6 | - * @license MIT License, see license.txt |
|
| 7 | - */ |
|
| 3 | + * @package CleverStyle CMS |
|
| 4 | + * @author Nazar Mokrynskyi <[email protected]> |
|
| 5 | + * @copyright Copyright (c) 2014-2016, Nazar Mokrynskyi |
|
| 6 | + * @license MIT License, see license.txt |
|
| 7 | + */ |
|
| 8 | 8 | namespace cs; |
| 9 | 9 | use |
| 10 | 10 | h; |
| 11 | 11 | /** |
| 12 | - * Menu class is used in administration for generating second and third level of menu |
|
| 13 | - * |
|
| 14 | - * Provides next events:<br> |
|
| 15 | - * admin/System/Menu |
|
| 16 | - * |
|
| 17 | - * @method static Menu instance($check = false) |
|
| 18 | - */ |
|
| 12 | + * Menu class is used in administration for generating second and third level of menu |
|
| 13 | + * |
|
| 14 | + * Provides next events:<br> |
|
| 15 | + * admin/System/Menu |
|
| 16 | + * |
|
| 17 | + * @method static Menu instance($check = false) |
|
| 18 | + */ |
|
| 19 | 19 | class Menu { |
| 20 | 20 | use |
| 21 | 21 | Singleton; |
@@ -1,32 +1,32 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @package CleverStyle CMS |
|
| 4 | - * @author Nazar Mokrynskyi <[email protected]> |
|
| 5 | - * @copyright Copyright (c) 2011-2016, Nazar Mokrynskyi |
|
| 6 | - * @license MIT License, see license.txt |
|
| 7 | - */ |
|
| 3 | + * @package CleverStyle CMS |
|
| 4 | + * @author Nazar Mokrynskyi <[email protected]> |
|
| 5 | + * @copyright Copyright (c) 2011-2016, Nazar Mokrynskyi |
|
| 6 | + * @license MIT License, see license.txt |
|
| 7 | + */ |
|
| 8 | 8 | namespace cs; |
| 9 | 9 | use |
| 10 | 10 | h; |
| 11 | 11 | /** |
| 12 | - * Provides next events: |
|
| 13 | - * System/Index/block_render |
|
| 14 | - * [ |
|
| 15 | - * 'index' => $index, //Block index |
|
| 16 | - * 'blocks_array' => &$blocks_array //Reference to array in form ['top' => '', 'left' => '', 'right' => '', 'bottom' => ''] |
|
| 17 | - * ] |
|
| 18 | - * |
|
| 19 | - * System/Index/construct |
|
| 20 | - * |
|
| 21 | - * System/Index/preload |
|
| 22 | - * |
|
| 23 | - * System/Index/postload |
|
| 24 | - * |
|
| 25 | - * @method static Index instance($check = false) |
|
| 26 | - * |
|
| 27 | - * @property string $action Form action |
|
| 28 | - * @property string[] $controller_path Path that will be used by controller to render page |
|
| 29 | - */ |
|
| 12 | + * Provides next events: |
|
| 13 | + * System/Index/block_render |
|
| 14 | + * [ |
|
| 15 | + * 'index' => $index, //Block index |
|
| 16 | + * 'blocks_array' => &$blocks_array //Reference to array in form ['top' => '', 'left' => '', 'right' => '', 'bottom' => ''] |
|
| 17 | + * ] |
|
| 18 | + * |
|
| 19 | + * System/Index/construct |
|
| 20 | + * |
|
| 21 | + * System/Index/preload |
|
| 22 | + * |
|
| 23 | + * System/Index/postload |
|
| 24 | + * |
|
| 25 | + * @method static Index instance($check = false) |
|
| 26 | + * |
|
| 27 | + * @property string $action Form action |
|
| 28 | + * @property string[] $controller_path Path that will be used by controller to render page |
|
| 29 | + */ |
|
| 30 | 30 | class Index { |
| 31 | 31 | use |
| 32 | 32 | Singleton, |
@@ -1,16 +1,16 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @package CleverStyle CMS |
|
| 4 | - * @author Nazar Mokrynskyi <[email protected]> |
|
| 5 | - * @copyright Copyright (c) 2011-2016, Nazar Mokrynskyi |
|
| 6 | - * @license MIT License, see license.txt |
|
| 7 | - */ |
|
| 3 | + * @package CleverStyle CMS |
|
| 4 | + * @author Nazar Mokrynskyi <[email protected]> |
|
| 5 | + * @copyright Copyright (c) 2011-2016, Nazar Mokrynskyi |
|
| 6 | + * @license MIT License, see license.txt |
|
| 7 | + */ |
|
| 8 | 8 | namespace cs\Config; |
| 9 | 9 | use |
| 10 | 10 | cs\Config; |
| 11 | 11 | /** |
| 12 | - * Class for getting of db and storage configuration of module |
|
| 13 | - */ |
|
| 12 | + * Class for getting of db and storage configuration of module |
|
| 13 | + */ |
|
| 14 | 14 | class Module_Properties { |
| 15 | 15 | const ENABLED = 1; |
| 16 | 16 | const DISABLED = 0; |
@@ -1,18 +1,18 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @package CleverStyle CMS |
|
| 4 | - * @author Nazar Mokrynskyi <[email protected]> |
|
| 5 | - * @copyright Copyright (c) 2011-2016, Nazar Mokrynskyi |
|
| 6 | - * @license MIT License, see license.txt |
|
| 7 | - */ |
|
| 3 | + * @package CleverStyle CMS |
|
| 4 | + * @author Nazar Mokrynskyi <[email protected]> |
|
| 5 | + * @copyright Copyright (c) 2011-2016, Nazar Mokrynskyi |
|
| 6 | + * @license MIT License, see license.txt |
|
| 7 | + */ |
|
| 8 | 8 | namespace cs; |
| 9 | 9 | use h; |
| 10 | 10 | /** |
| 11 | - * Core class. |
|
| 12 | - * Provides loading of base system configuration |
|
| 13 | - * |
|
| 14 | - * @method static Core instance($check = false) |
|
| 15 | - */ |
|
| 11 | + * Core class. |
|
| 12 | + * Provides loading of base system configuration |
|
| 13 | + * |
|
| 14 | + * @method static Core instance($check = false) |
|
| 15 | + */ |
|
| 16 | 16 | class Core { |
| 17 | 17 | use Singleton; |
| 18 | 18 | /** |
@@ -1,19 +1,19 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @package CleverStyle CMS |
|
| 4 | - * @author Nazar Mokrynskyi <[email protected]> |
|
| 5 | - * @copyright Copyright (c) 2013-2016, Nazar Mokrynskyi |
|
| 6 | - * @license MIT License, see license.txt |
|
| 7 | - */ |
|
| 3 | + * @package CleverStyle CMS |
|
| 4 | + * @author Nazar Mokrynskyi <[email protected]> |
|
| 5 | + * @copyright Copyright (c) 2013-2016, Nazar Mokrynskyi |
|
| 6 | + * @license MIT License, see license.txt |
|
| 7 | + */ |
|
| 8 | 8 | namespace cs; |
| 9 | 9 | use |
| 10 | 10 | cs\Cache\Prefix, |
| 11 | 11 | cs\DB\Accessor; |
| 12 | 12 | /** |
| 13 | - * Class for permissions manipulating |
|
| 14 | - * |
|
| 15 | - * @method static Permission instance($check = false) |
|
| 16 | - */ |
|
| 13 | + * Class for permissions manipulating |
|
| 14 | + * |
|
| 15 | + * @method static Permission instance($check = false) |
|
| 16 | + */ |
|
| 17 | 17 | class Permission { |
| 18 | 18 | use |
| 19 | 19 | Accessor, |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @package CleverStyle CMS |
|
| 4 | - * @author Nazar Mokrynskyi <[email protected]> |
|
| 5 | - * @copyright Copyright (c) 2011-2016, Nazar Mokrynskyi |
|
| 6 | - * @license MIT License, see license.txt |
|
| 7 | - */ |
|
| 3 | + * @package CleverStyle CMS |
|
| 4 | + * @author Nazar Mokrynskyi <[email protected]> |
|
| 5 | + * @copyright Copyright (c) 2011-2016, Nazar Mokrynskyi |
|
| 6 | + * @license MIT License, see license.txt |
|
| 7 | + */ |
|
| 8 | 8 | namespace cs; |
| 9 | 9 | |
| 10 | 10 | /** |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @package CleverStyle CMS |
|
| 4 | - * @author Nazar Mokrynskyi <[email protected]> |
|
| 5 | - * @copyright Copyright (c) 2015-2016, Nazar Mokrynskyi |
|
| 6 | - * @license MIT License, see license.txt |
|
| 7 | - */ |
|
| 3 | + * @package CleverStyle CMS |
|
| 4 | + * @author Nazar Mokrynskyi <[email protected]> |
|
| 5 | + * @copyright Copyright (c) 2015-2016, Nazar Mokrynskyi |
|
| 6 | + * @license MIT License, see license.txt |
|
| 7 | + */ |
|
| 8 | 8 | namespace cs; |
| 9 | 9 | use |
| 10 | 10 | ArrayAccess, |
@@ -1,25 +1,25 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @package CleverStyle CMS |
|
| 4 | - * @author Nazar Mokrynskyi <[email protected]> |
|
| 5 | - * @copyright Copyright (c) 2011-2016, Nazar Mokrynskyi |
|
| 6 | - * @license MIT License, see license.txt |
|
| 7 | - */ |
|
| 3 | + * @package CleverStyle CMS |
|
| 4 | + * @author Nazar Mokrynskyi <[email protected]> |
|
| 5 | + * @copyright Copyright (c) 2011-2016, Nazar Mokrynskyi |
|
| 6 | + * @license MIT License, see license.txt |
|
| 7 | + */ |
|
| 8 | 8 | namespace cs; |
| 9 | 9 | use |
| 10 | 10 | ArrayAccess, |
| 11 | 11 | SimpleXMLElement; |
| 12 | 12 | /** |
| 13 | - * False_class is used for chained calling, when some method may return false. |
|
| 14 | - * |
|
| 15 | - * Usage of class is simple, just return his instance instead of real boolean <i>false</i>. |
|
| 16 | - * On every call of any method or getting of any property or getting any element of array instance of the this class will be returned. |
|
| 17 | - * Access to anything of this class instance will be casted to boolean <i>false</i> |
|
| 18 | - * |
|
| 19 | - * Inherits SimpleXMLElement in order to be casted from object to boolean as <i>false</i> |
|
| 20 | - * |
|
| 21 | - * @property string $error |
|
| 22 | - */ |
|
| 13 | + * False_class is used for chained calling, when some method may return false. |
|
| 14 | + * |
|
| 15 | + * Usage of class is simple, just return his instance instead of real boolean <i>false</i>. |
|
| 16 | + * On every call of any method or getting of any property or getting any element of array instance of the this class will be returned. |
|
| 17 | + * Access to anything of this class instance will be casted to boolean <i>false</i> |
|
| 18 | + * |
|
| 19 | + * Inherits SimpleXMLElement in order to be casted from object to boolean as <i>false</i> |
|
| 20 | + * |
|
| 21 | + * @property string $error |
|
| 22 | + */ |
|
| 23 | 23 | class False_class extends SimpleXMLElement implements ArrayAccess { |
| 24 | 24 | /** |
| 25 | 25 | * Use this method to obtain correct instance |