@@ -20,8 +20,8 @@ discard block |
||
20 | 20 | const COMPRESS_QUALITY = 90; |
21 | 21 | |
22 | 22 | /** |
23 | - * Form text helper data with translation |
|
24 | - */ |
|
23 | + * Form text helper data with translation |
|
24 | + */ |
|
25 | 25 | public function labels() |
26 | 26 | { |
27 | 27 | return [ |
@@ -30,8 +30,8 @@ discard block |
||
30 | 30 | } |
31 | 31 | |
32 | 32 | /** |
33 | - * Validation rules for avatar uploading |
|
34 | - */ |
|
33 | + * Validation rules for avatar uploading |
|
34 | + */ |
|
35 | 35 | public function rules() |
36 | 36 | { |
37 | 37 | return [ |
@@ -44,8 +44,8 @@ |
||
44 | 44 | } |
45 | 45 | |
46 | 46 | /** |
47 | - * Parse user identifier to attributes |
|
48 | - */ |
|
47 | + * Parse user identifier to attributes |
|
48 | + */ |
|
49 | 49 | public function before() |
50 | 50 | { |
51 | 51 | // set unique user id from provider response |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php return [ |
2 | - 'Alias' => [ |
|
3 | - 'Front' => [ |
|
4 | - '/' => '/content/list/news' |
|
5 | - ] |
|
6 | - ] |
|
2 | + 'Alias' => [ |
|
3 | + 'Front' => [ |
|
4 | + '/' => '/content/list/news' |
|
5 | + ] |
|
6 | + ] |
|
7 | 7 | ]; |
8 | 8 | \ No newline at end of file |
@@ -22,8 +22,8 @@ discard block |
||
22 | 22 | public $captcha; |
23 | 23 | |
24 | 24 | /** |
25 | - * Labels for visual display |
|
26 | - */ |
|
25 | + * Labels for visual display |
|
26 | + */ |
|
27 | 27 | public function labels() |
28 | 28 | { |
29 | 29 | return [ |
@@ -33,8 +33,8 @@ discard block |
||
33 | 33 | } |
34 | 34 | |
35 | 35 | /** |
36 | - * Validation rules |
|
37 | - */ |
|
36 | + * Validation rules |
|
37 | + */ |
|
38 | 38 | public function rules() |
39 | 39 | { |
40 | 40 | return [ |
@@ -38,8 +38,8 @@ discard block |
||
38 | 38 | } |
39 | 39 | |
40 | 40 | /** |
41 | - * Set default data |
|
42 | - */ |
|
41 | + * Set default data |
|
42 | + */ |
|
43 | 43 | public function before() |
44 | 44 | { |
45 | 45 | $profile = $this->_user->getProfile()->toArray(); // object to array (property's is protected of access) |
@@ -60,8 +60,8 @@ discard block |
||
60 | 60 | } |
61 | 61 | |
62 | 62 | /** |
63 | - * Form display labels |
|
64 | - */ |
|
63 | + * Form display labels |
|
64 | + */ |
|
65 | 65 | public function labels() |
66 | 66 | { |
67 | 67 | $labels = [ |
@@ -83,8 +83,8 @@ discard block |
||
83 | 83 | } |
84 | 84 | |
85 | 85 | /** |
86 | - * Rules for validation |
|
87 | - */ |
|
86 | + * Rules for validation |
|
87 | + */ |
|
88 | 88 | public function rules() |
89 | 89 | { |
90 | 90 | $rules = [ |
@@ -21,8 +21,8 @@ |
||
21 | 21 | |
22 | 22 | |
23 | 23 | /** |
24 | - * Load default properties into the model |
|
25 | - */ |
|
24 | + * Load default properties into the model |
|
25 | + */ |
|
26 | 26 | public function before() |
27 | 27 | { |
28 | 28 | $this->cfg = App::$Properties->getAll('Routing'); |
@@ -39,8 +39,8 @@ |
||
39 | 39 | } |
40 | 40 | |
41 | 41 | /** |
42 | - * Load user data on before method |
|
43 | - */ |
|
42 | + * Load user data on before method |
|
43 | + */ |
|
44 | 44 | public function before() |
45 | 45 | { |
46 | 46 | foreach ($this->getAllProperties() as $property => $old_data) { |
@@ -31,8 +31,8 @@ discard block |
||
31 | 31 | } |
32 | 32 | |
33 | 33 | /** |
34 | - * Parse public attribute values from input object data |
|
35 | - */ |
|
34 | + * Parse public attribute values from input object data |
|
35 | + */ |
|
36 | 36 | public function before() |
37 | 37 | { |
38 | 38 | $this->name = $this->_role->name; |
@@ -42,9 +42,9 @@ discard block |
||
42 | 42 | } |
43 | 43 | |
44 | 44 | /** |
45 | - * Display labels data |
|
45 | + * Display labels data |
|
46 | 46 | * @return array |
47 | - */ |
|
47 | + */ |
|
48 | 48 | public function labels() |
49 | 49 | { |
50 | 50 | return [ |
@@ -42,8 +42,8 @@ |
||
42 | 42 | public $trustedProxy; |
43 | 43 | |
44 | 44 | /** |
45 | - * Set property values from configurations |
|
46 | - */ |
|
45 | + * Set property values from configurations |
|
46 | + */ |
|
47 | 47 | public function before() |
48 | 48 | { |
49 | 49 | // set default values |