Completed
Push — master ( 05b3d8...042356 )
by Nazar
04:20
created
core/classes/Page/Meta.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
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\Page;
9 9
 use
10 10
 	cs\Config,
Please login to merge, or discard this patch.
core/classes/Menu.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,21 +1,21 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
core/classes/Config/Module_Properties.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
core/classes/Core.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,18 +1,18 @@
 block discarded – undo
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
 	/**
Please login to merge, or discard this patch.
core/classes/Storage.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.
core/classes/_SERVER.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
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,
Please login to merge, or discard this patch.
core/classes/False_class.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -1,25 +1,25 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
core/classes/h.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
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
 /**
9
- * Class for HTML code rendering in accordance with the standards of HTML5, and with useful syntax extensions for simpler usage
10
- */
9
+	 * Class for HTML code rendering in accordance with the standards of HTML5, and with useful syntax extensions for simpler usage
10
+	 */
11 11
 use	cs\h\Base;
12 12
 class h extends Base {}
Please login to merge, or discard this patch.
core/classes/User.php 1 patch
Indentation   +57 added lines, -57 removed lines patch added patch discarded remove patch
@@ -1,43 +1,43 @@  discard block
 block discarded – undo
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
 /**
9
- * Provides next events:
10
- *  System/User/construct/before
11
- *
12
- *  System/User/construct/after
13
- *
14
- *  System/User/registration/before
15
- *  ['email' => <i>email</i>]
16
- *
17
- *  System/User/registration/after
18
- *  ['id' => <i>user_id</i>]
19
- *
20
- *  System/User/registration/confirmation/before
21
- *  ['reg_key' => <i>reg_key</i>]
22
- *
23
- *  System/User/registration/confirmation/after
24
- *  ['id' => <i>user_id</i>]
25
- *
26
- *  System/User/del/before
27
- *  ['id' => <i>user_id</i>]
28
- *
29
- *  System/User/del/after
30
- *  ['id' => <i>user_id</i>]
31
- *
32
- *  System/User/add_bot
33
- *  ['id' => <i>bot_id</i>]
34
- *
35
- *  System/User/get_contacts
36
- *  [
37
- *    'id'       => <i>user_id</i>,
38
- *    'contacts' => <i>&$contacts</i> //Array of user id
39
- *  ]
40
- */
9
+	 * Provides next events:
10
+	 *  System/User/construct/before
11
+	 *
12
+	 *  System/User/construct/after
13
+	 *
14
+	 *  System/User/registration/before
15
+	 *  ['email' => <i>email</i>]
16
+	 *
17
+	 *  System/User/registration/after
18
+	 *  ['id' => <i>user_id</i>]
19
+	 *
20
+	 *  System/User/registration/confirmation/before
21
+	 *  ['reg_key' => <i>reg_key</i>]
22
+	 *
23
+	 *  System/User/registration/confirmation/after
24
+	 *  ['id' => <i>user_id</i>]
25
+	 *
26
+	 *  System/User/del/before
27
+	 *  ['id' => <i>user_id</i>]
28
+	 *
29
+	 *  System/User/del/after
30
+	 *  ['id' => <i>user_id</i>]
31
+	 *
32
+	 *  System/User/add_bot
33
+	 *  ['id' => <i>bot_id</i>]
34
+	 *
35
+	 *  System/User/get_contacts
36
+	 *  [
37
+	 *    'id'       => <i>user_id</i>,
38
+	 *    'contacts' => <i>&$contacts</i> //Array of user id
39
+	 *  ]
40
+	 */
41 41
 namespace cs;
42 42
 use
43 43
 	cs\Cache\Prefix,
@@ -47,26 +47,26 @@  discard block
 block discarded – undo
47 47
 	cs\User\Management as User_management,
48 48
 	cs\User\Permission as User_permission;
49 49
 /**
50
- * Class for users manipulating
51
- *
52
- * @property int    $id
53
- * @property string $login
54
- * @property string $login_hash    sha224 hash
55
- * @property string $username
56
- * @property string $password_hash sha512 hash
57
- * @property string $email
58
- * @property string $email_hash    sha224 hash
59
- * @property string $language
60
- * @property string $timezone
61
- * @property int    $reg_date      unix timestamp
62
- * @property string $reg_ip        hex value, obtained by function ip2hex()
63
- * @property string $reg_key       random md5 hash, generated during registration
64
- * @property int    $status        '-1' - not activated (for example after registration), 0 - inactive, 1 - active
65
- * @property int    $block_until   unix timestamp
66
- * @property string $avatar
67
- *
68
- * @method static User instance($check = false)
69
- */
50
+	 * Class for users manipulating
51
+	 *
52
+	 * @property int    $id
53
+	 * @property string $login
54
+	 * @property string $login_hash    sha224 hash
55
+	 * @property string $username
56
+	 * @property string $password_hash sha512 hash
57
+	 * @property string $email
58
+	 * @property string $email_hash    sha224 hash
59
+	 * @property string $language
60
+	 * @property string $timezone
61
+	 * @property int    $reg_date      unix timestamp
62
+	 * @property string $reg_ip        hex value, obtained by function ip2hex()
63
+	 * @property string $reg_key       random md5 hash, generated during registration
64
+	 * @property int    $status        '-1' - not activated (for example after registration), 0 - inactive, 1 - active
65
+	 * @property int    $block_until   unix timestamp
66
+	 * @property string $avatar
67
+	 *
68
+	 * @method static User instance($check = false)
69
+	 */
70 70
 class User {
71 71
 	use
72 72
 		Accessor,
Please login to merge, or discard this patch.