@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | namespace Auth\Factory\Form; |
11 | 11 | |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | || array_key_exists('user', $config['acl']['roles']) |
40 | 40 | ? array(User::ROLE_USER) |
41 | 41 | : array('none') |
42 | - ); |
|
42 | + ); |
|
43 | 43 | |
44 | 44 | $valueOptions = array(); |
45 | 45 | foreach ($publicRoles as $role) { |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** GroupFieldset.php */ |
11 | 11 | namespace Auth\Form; |
@@ -28,9 +28,9 @@ discard block |
||
28 | 28 | public function init() |
29 | 29 | { |
30 | 30 | $this->setName('data') |
31 | - ->setLabel('Group data') |
|
32 | - ->setUseAsBaseFieldset(true) |
|
33 | - ->setHydrator(new EntityHydrator()); |
|
31 | + ->setLabel('Group data') |
|
32 | + ->setUseAsBaseFieldset(true) |
|
33 | + ->setHydrator(new EntityHydrator()); |
|
34 | 34 | |
35 | 35 | $this->add( |
36 | 36 | array( |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | 'required' => true, |
71 | 71 | 'validators' => array( |
72 | 72 | array('name' => 'Auth/Form/UniqueGroupName', |
73 | - 'options' => array( |
|
73 | + 'options' => array( |
|
74 | 74 | 'allowName' => 'edit' == $this->getOption('mode') |
75 | 75 | ? $this->getObject()->getName() |
76 | 76 | : null |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** UsersCollection.php */ |
11 | 11 | namespace Auth\Form; |
@@ -98,9 +98,9 @@ discard block |
||
98 | 98 | ); |
99 | 99 | |
100 | 100 | $this->setCount(0) |
101 | - ->setAllowRemove(true) |
|
102 | - ->setAllowAdd(true) |
|
103 | - ->setShouldCreateTemplate(true); |
|
101 | + ->setAllowRemove(true) |
|
102 | + ->setAllowAdd(true) |
|
103 | + ->setShouldCreateTemplate(true); |
|
104 | 104 | |
105 | 105 | |
106 | 106 | } |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** */ |
11 | 11 | namespace Auth\Form; |
@@ -58,9 +58,9 @@ discard block |
||
58 | 58 | /** @var ModuleOptions $options */ |
59 | 59 | |
60 | 60 | $form->get($this->fileName)->setViewHelper('FormImageUpload') |
61 | - ->setMaxSize($options->getContactImageMaxSize()) |
|
62 | - ->setAllowedTypes($options->getContactImageMimeType()) |
|
63 | - ->setForm($form); |
|
61 | + ->setMaxSize($options->getContactImageMaxSize()) |
|
62 | + ->setAllowedTypes($options->getContactImageMimeType()) |
|
63 | + ->setForm($form); |
|
64 | 64 | |
65 | 65 | } |
66 | 66 | } |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @license MIT |
|
7 | - * @copyright 2013 - 2016 Cross Solution <http://cross-solution.de> |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @license MIT |
|
7 | + * @copyright 2013 - 2016 Cross Solution <http://cross-solution.de> |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** */ |
11 | 11 | namespace JobsTest\Form; |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** Auth view helper */ |
11 | 11 | namespace Auth\View\Helper; |
@@ -24,6 +24,6 @@ discard block |
||
24 | 24 | */ |
25 | 25 | public function __invoke($values = array()) |
26 | 26 | { |
27 | - return $this->getView()->render('auth/index/login-info', $values); |
|
27 | + return $this->getView()->render('auth/index/login-info', $values); |
|
28 | 28 | } |
29 | 29 | } |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * Core Module Bootstrap |
|
5 | - * |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * Core Module Bootstrap |
|
5 | + * |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** Core */ |
11 | 11 | namespace Core; |
@@ -1,16 +1,16 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * Configuration file of the Core module |
|
5 | - * |
|
6 | - * This file intents to provide the configuration for all other modules |
|
7 | - * as well (convention over configuration). |
|
8 | - * Having said that, you may always overwrite or extend the configuration |
|
9 | - * in your own modules configuration file(s) (or via the config autoloading). |
|
10 | - * |
|
11 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
12 | - * @license MIT |
|
13 | - */ |
|
3 | + * YAWIK |
|
4 | + * Configuration file of the Core module |
|
5 | + * |
|
6 | + * This file intents to provide the configuration for all other modules |
|
7 | + * as well (convention over configuration). |
|
8 | + * Having said that, you may always overwrite or extend the configuration |
|
9 | + * in your own modules configuration file(s) (or via the config autoloading). |
|
10 | + * |
|
11 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
12 | + * @license MIT |
|
13 | + */ |
|
14 | 14 | |
15 | 15 | $doctrineConfig = include __DIR__ . '/doctrine.config.php'; |
16 | 16 | |
@@ -32,24 +32,24 @@ discard block |
||
32 | 32 | 'log' => array( |
33 | 33 | 'Core/Log' => array( |
34 | 34 | 'writers' => array( |
35 | - array( |
|
36 | - 'name' => 'stream', |
|
35 | + array( |
|
36 | + 'name' => 'stream', |
|
37 | 37 | 'priority' => 1000, |
38 | 38 | 'options' => array( |
39 | - 'stream' => __DIR__ .'/../../../log/yawik.log', |
|
39 | + 'stream' => __DIR__ .'/../../../log/yawik.log', |
|
40 | + ), |
|
40 | 41 | ), |
41 | - ), |
|
42 | 42 | ), |
43 | 43 | ), |
44 | 44 | 'Log/Core/Mail' => array( |
45 | 45 | 'writers' => array( |
46 | - array( |
|
47 | - 'name' => 'stream', |
|
46 | + array( |
|
47 | + 'name' => 'stream', |
|
48 | 48 | 'priority' => 1000, |
49 | 49 | 'options' => array( |
50 | - 'stream' => __DIR__ .'/../../../log/mails.log', |
|
50 | + 'stream' => __DIR__ .'/../../../log/mails.log', |
|
51 | + ), |
|
51 | 52 | ), |
52 | - ), |
|
53 | 53 | ), |
54 | 54 | ), |
55 | 55 | 'ErrorLogger' => array( |
@@ -207,11 +207,11 @@ discard block |
||
207 | 207 | // Defines the Core/Navigation. |
208 | 208 | 'navigation' => array( |
209 | 209 | 'default' => array( |
210 | - 'home' => array( |
|
211 | - 'label' => /*@translate*/ 'Home', |
|
212 | - 'route' => 'lang', |
|
213 | - 'visible' => false |
|
214 | - ), |
|
210 | + 'home' => array( |
|
211 | + 'label' => /*@translate*/ 'Home', |
|
212 | + 'route' => 'lang', |
|
213 | + 'visible' => false |
|
214 | + ), |
|
215 | 215 | ), |
216 | 216 | ), |
217 | 217 | // Configuration of the controller service manager (Which loads controllers) |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** FileController.php */ |
11 | 11 | namespace Core\Controller; |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | $this->acl($file); |
76 | 76 | |
77 | 77 | $response->getHeaders()->addHeaderline('Content-Type', $file->type) |
78 | - ->addHeaderline('Content-Length', $file->length); |
|
78 | + ->addHeaderline('Content-Length', $file->length); |
|
79 | 79 | $response->sendHeaders(); |
80 | 80 | |
81 | 81 | $resource = $file->getResource(); |