@@ -10,8 +10,8 @@ |
||
| 10 | 10 | namespace cs\plugins\SimpleImage; |
| 11 | 11 | require_once __DIR__.'/abeautifulsite/SimpleImage.php'; |
| 12 | 12 | /** |
| 13 | - * Class SimpleImage |
|
| 14 | - * This class makes image manipulation in PHP as simple as possible. |
|
| 15 | - * @package SimpleImage |
|
| 16 | - */ |
|
| 13 | + * Class SimpleImage |
|
| 14 | + * This class makes image manipulation in PHP as simple as possible. |
|
| 15 | + * @package SimpleImage |
|
| 16 | + */ |
|
| 17 | 17 | class SimpleImage extends \abeautifulsite\SimpleImage {} |
@@ -1,22 +1,22 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @package Tags |
|
| 4 | - * @category plugins |
|
| 5 | - * @author Nazar Mokrynskyi <[email protected]> |
|
| 6 | - * @copyright Copyright (c) 2015, Nazar Mokrynskyi |
|
| 7 | - * @license MIT License, see license.txt |
|
| 8 | - */ |
|
| 3 | + * @package Tags |
|
| 4 | + * @category plugins |
|
| 5 | + * @author Nazar Mokrynskyi <[email protected]> |
|
| 6 | + * @copyright Copyright (c) 2015, Nazar Mokrynskyi |
|
| 7 | + * @license MIT License, see license.txt |
|
| 8 | + */ |
|
| 9 | 9 | namespace cs\plugins\Tags; |
| 10 | 10 | use |
| 11 | 11 | cs\DB\Accessor; |
| 12 | 12 | /** |
| 13 | - * Tags trait |
|
| 14 | - * |
|
| 15 | - * Provides methods for working with tags for faster development |
|
| 16 | - * |
|
| 17 | - * @property \cs\Cache\Prefix $cache |
|
| 18 | - * @property string $table |
|
| 19 | - */ |
|
| 13 | + * Tags trait |
|
| 14 | + * |
|
| 15 | + * Provides methods for working with tags for faster development |
|
| 16 | + * |
|
| 17 | + * @property \cs\Cache\Prefix $cache |
|
| 18 | + * @property string $table |
|
| 19 | + */ |
|
| 20 | 20 | trait Tags { |
| 21 | 21 | use |
| 22 | 22 | Accessor; |
@@ -5,5 +5,5 @@ |
||
| 5 | 5 | * @copyright Copyright (c) 2011-2015, Nazar Mokrynskyi |
| 6 | 6 | * @license MIT License, see license.txt |
| 7 | 7 | */ |
| 8 | -define('DEBUG', false); |
|
| 9 | -define('XHTML_TAGS_STYLE', false); |
|
| 8 | +define('DEBUG', false); |
|
| 9 | +define('XHTML_TAGS_STYLE', false); |
|
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @package CleverStyle CMS |
|
| 4 | - * @author Nazar Mokrynskyi <[email protected]> |
|
| 5 | - * @copyright Copyright (c) 2011-2015, 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-2015, Nazar Mokrynskyi |
|
| 6 | + * @license MIT License, see license.txt |
|
| 7 | + */ |
|
| 8 | 8 | namespace cs; |
| 9 | 9 | use |
| 10 | 10 | h, |
@@ -1,16 +1,16 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @package CleverStyle CMS |
|
| 4 | - * @author Nazar Mokrynskyi <[email protected]> |
|
| 5 | - * @copyright Copyright (c) 2011-2015, 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-2015, 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-2015, 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-2015, 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,18 +1,18 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @package CleverStyle CMS |
|
| 4 | - * @author Nazar Mokrynskyi <[email protected]> |
|
| 5 | - * @copyright Copyright (c) 2015, 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, Nazar Mokrynskyi |
|
| 6 | + * @license MIT License, see license.txt |
|
| 7 | + */ |
|
| 8 | 8 | namespace cs; |
| 9 | 9 | /** |
| 10 | - * Event class |
|
| 11 | - * |
|
| 12 | - * Provides events subscribing and dispatching |
|
| 13 | - * |
|
| 14 | - * @method static Event instance($check = false) |
|
| 15 | - */ |
|
| 10 | + * Event class |
|
| 11 | + * |
|
| 12 | + * Provides events subscribing and dispatching |
|
| 13 | + * |
|
| 14 | + * @method static Event instance($check = false) |
|
| 15 | + */ |
|
| 16 | 16 | class Event { |
| 17 | 17 | use Singleton; |
| 18 | 18 | /** |
@@ -1,25 +1,25 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @package CleverStyle CMS |
|
| 4 | - * @author Nazar Mokrynskyi <[email protected]> |
|
| 5 | - * @copyright Copyright (c) 2011-2015, 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-2015, 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 |
@@ -1,32 +1,32 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @package CleverStyle CMS |
|
| 4 | - * @author Nazar Mokrynskyi <[email protected]> |
|
| 5 | - * @copyright Copyright (c) 2013-2015, 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-2015, Nazar Mokrynskyi |
|
| 6 | + * @license MIT License, see license.txt |
|
| 7 | + */ |
|
| 8 | 8 | /** |
| 9 | - * Provides next events:<br> |
|
| 10 | - * |
|
| 11 | - * System/User/Group/add |
|
| 12 | - * ['id' => <i>group_id</i>] |
|
| 13 | - * |
|
| 14 | - * System/User/Group/del/before |
|
| 15 | - * ['id' => <i>group_id</i>] |
|
| 16 | - * |
|
| 17 | - * System/User/Group/del/after |
|
| 18 | - * ['id' => <i>group_id</i>] |
|
| 19 | - * |
|
| 20 | - */ |
|
| 9 | + * Provides next events:<br> |
|
| 10 | + * |
|
| 11 | + * System/User/Group/add |
|
| 12 | + * ['id' => <i>group_id</i>] |
|
| 13 | + * |
|
| 14 | + * System/User/Group/del/before |
|
| 15 | + * ['id' => <i>group_id</i>] |
|
| 16 | + * |
|
| 17 | + * System/User/Group/del/after |
|
| 18 | + * ['id' => <i>group_id</i>] |
|
| 19 | + * |
|
| 20 | + */ |
|
| 21 | 21 | namespace cs; |
| 22 | 22 | use |
| 23 | 23 | cs\Cache\Prefix, |
| 24 | 24 | cs\Permission\Any; |
| 25 | 25 | /** |
| 26 | - * Class for groups manipulating |
|
| 27 | - * |
|
| 28 | - * @method static Group instance($check = false) |
|
| 29 | - */ |
|
| 26 | + * Class for groups manipulating |
|
| 27 | + * |
|
| 28 | + * @method static Group instance($check = false) |
|
| 29 | + */ |
|
| 30 | 30 | class Group { |
| 31 | 31 | use |
| 32 | 32 | CRUD_helpers, |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | 'title' => 'html', |
| 38 | 38 | 'description' => 'html' |
| 39 | 39 | ]; |
| 40 | - protected $table = '[prefix]groups'; |
|
| 40 | + protected $table = '[prefix]groups'; |
|
| 41 | 41 | /** |
| 42 | 42 | * @var Prefix |
| 43 | 43 | */ |
@@ -1,32 +1,32 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @package CleverStyle CMS |
|
| 4 | - * @author Nazar Mokrynskyi <[email protected]> |
|
| 5 | - * @copyright Copyright (c) 2011-2015, 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-2015, 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, |