@@ -9,8 +9,8 @@ |
||
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; |
@@ -9,10 +9,10 @@ |
||
9 | 9 | use |
10 | 10 | cs\DB; |
11 | 11 | /** |
12 | - * Accessor trait |
|
13 | - * |
|
14 | - * Provides db() and db_prime() methods for simplified for with DB |
|
15 | - */ |
|
12 | + * Accessor trait |
|
13 | + * |
|
14 | + * Provides db() and db_prime() methods for simplified for with DB |
|
15 | + */ |
|
16 | 16 | trait Accessor { |
17 | 17 | /** |
18 | 18 | * Link to db object |
@@ -9,8 +9,8 @@ |
||
9 | 9 | use |
10 | 10 | cs\Singleton\Base; |
11 | 11 | /** |
12 | - * @inheritdoc |
|
13 | - */ |
|
12 | + * @inheritdoc |
|
13 | + */ |
|
14 | 14 | trait Singleton { |
15 | 15 | use Base; |
16 | 16 | } |
@@ -9,8 +9,8 @@ |
||
9 | 9 | use |
10 | 10 | cs\Language; |
11 | 11 | /** |
12 | - * Class for simplified work with languages, when using common prefix |
|
13 | - */ |
|
12 | + * Class for simplified work with languages, when using common prefix |
|
13 | + */ |
|
14 | 14 | class Prefix { |
15 | 15 | /** |
16 | 16 | * @var string |
@@ -10,16 +10,16 @@ |
||
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 |
@@ -11,9 +11,9 @@ |
||
11 | 11 | cs\CRUD, |
12 | 12 | cs\Language; |
13 | 13 | /** |
14 | - * @property \cs\Cache\Prefix $cache |
|
15 | - * @property string $table |
|
16 | - */ |
|
14 | + * @property \cs\Cache\Prefix $cache |
|
15 | + * @property string $table |
|
16 | + */ |
|
17 | 17 | trait Common_actions { |
18 | 18 | use |
19 | 19 | CRUD; |
@@ -13,12 +13,12 @@ |
||
13 | 13 | cs\plugins\Tags\Tags as Tags_trait, |
14 | 14 | cs\Singleton; |
15 | 15 | /** |
16 | - * Tags trait |
|
17 | - * |
|
18 | - * Provides methods for working with tags for faster development |
|
19 | - * |
|
20 | - * @method static $this instance($check = false) |
|
21 | - */ |
|
16 | + * Tags trait |
|
17 | + * |
|
18 | + * Provides methods for working with tags for faster development |
|
19 | + * |
|
20 | + * @method static $this instance($check = false) |
|
21 | + */ |
|
22 | 22 | class Tags { |
23 | 23 | use |
24 | 24 | Tags_trait, |
@@ -13,13 +13,13 @@ |
||
13 | 13 | cs\Event, |
14 | 14 | cs\Storage; |
15 | 15 | /** |
16 | - * Supports next events: |
|
17 | - * System/upload_files/del_tag |
|
18 | - * [ |
|
19 | - * 'url' => url, //Optional |
|
20 | - * 'tag' => tag //Optional ("%" symbol may be used at the end of string to delete all files, that starts from specified string) |
|
21 | - * ] |
|
22 | - */ |
|
16 | + * Supports next events: |
|
17 | + * System/upload_files/del_tag |
|
18 | + * [ |
|
19 | + * 'url' => url, //Optional |
|
20 | + * 'tag' => tag //Optional ("%" symbol may be used at the end of string to delete all files, that starts from specified string) |
|
21 | + * ] |
|
22 | + */ |
|
23 | 23 | Event::instance() |
24 | 24 | ->on( |
25 | 25 | 'admin/System/components/modules/uninstall/before', |
@@ -18,8 +18,8 @@ |
||
18 | 18 | ->header('cache-control', 'no-store') |
19 | 19 | ->header('pragma', 'no-cache'); |
20 | 20 | /** |
21 | - * Errors processing |
|
22 | - */ |
|
21 | + * Errors processing |
|
22 | + */ |
|
23 | 23 | if (!isset($_POST['grant_type'])) { |
24 | 24 | $e = new ExitException( |
25 | 25 | [ |