@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** Job.php */ |
11 | 11 | namespace Jobs\Form\InputFilter; |
@@ -17,8 +17,8 @@ discard block |
||
17 | 17 | { |
18 | 18 | parent::init(); |
19 | 19 | $input = $this->get('applyId') |
20 | - ->getValidatorChain() |
|
21 | - ->attachByName('Jobs/Form/UniqueApplyId'); |
|
20 | + ->getValidatorChain() |
|
21 | + ->attachByName('Jobs/Form/UniqueApplyId'); |
|
22 | 22 | |
23 | 23 | } |
24 | 24 | } |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @license MIT |
|
7 | - * @copyright 2013 - 2015 Cross Solution <http://cross-solution.de> |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @license MIT |
|
7 | + * @copyright 2013 - 2015 Cross Solution <http://cross-solution.de> |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** */ |
11 | 11 | namespace Jobs\Listener; |
@@ -136,13 +136,13 @@ discard block |
||
136 | 136 | { |
137 | 137 | $mail = $this->mailer->get('htmltemplate'); |
138 | 138 | $mail->setTemplate($template) |
139 | - ->setSubject($subject) |
|
140 | - ->setVariables( |
|
141 | - array( |
|
139 | + ->setSubject($subject) |
|
140 | + ->setVariables( |
|
141 | + array( |
|
142 | 142 | 'job' => $job, |
143 | 143 | 'siteName' => $this->options['siteName'], |
144 | 144 | ) |
145 | - ); |
|
145 | + ); |
|
146 | 146 | |
147 | 147 | if ($adminMail) { |
148 | 148 | $mail->setTo($this->options['adminEmail']); |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | - * @author cbleek |
|
8 | - * @license MIT |
|
9 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | + * @author cbleek |
|
8 | + * @license MIT |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Jobs\Options; |
12 | 12 |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * Organizations Module Bootstrap |
|
5 | - * |
|
6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | - * @license GPLv3 |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * Organizations Module Bootstrap |
|
5 | + * |
|
6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | + * @license GPLv3 |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | namespace Organizations; |
11 | 11 | |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | */ |
26 | 26 | public function getConfig() |
27 | 27 | { |
28 | - return ModuleConfigLoader::load(__DIR__ . '/config'); |
|
28 | + return ModuleConfigLoader::load(__DIR__ . '/config'); |
|
29 | 29 | } |
30 | 30 | |
31 | 31 | /** |
@@ -1,8 +1,8 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author Mathias Weitz <[email protected]> |
|
4 | - * @author Mathias Gelhausen <[email protected]> |
|
5 | - */ |
|
3 | + * @author Mathias Weitz <[email protected]> |
|
4 | + * @author Mathias Gelhausen <[email protected]> |
|
5 | + */ |
|
6 | 6 | |
7 | 7 | return array( |
8 | 8 | 'doctrine' => array( |
@@ -63,13 +63,13 @@ discard block |
||
63 | 63 | 'view_manager' => array( |
64 | 64 | // Map template to files. Speeds up the lookup through the template stack. |
65 | 65 | 'template_map' => array( |
66 | - 'organizations/index/edit' => __DIR__ . '/../view/organizations/index/form.phtml', |
|
67 | - 'organizations/form/employees-fieldset' => __DIR__ . '/../view/form/employees-fieldset.phtml', |
|
68 | - 'organizations/form/employee-fieldset' => __DIR__ .'/../view/form/employee-fieldset.phtml', |
|
69 | - 'organizations/form/invite-employee-bar' => __DIR__ . '/../view/form/invite-employee-bar.phtml', |
|
70 | - 'organizations/error/no-parent' => __DIR__ . '/../view/error/no-parent.phtml', |
|
71 | - 'organizations/error/invite' => __DIR__ . '/../view/error/invite.phtml', |
|
72 | - 'organizations/mail/invite-employee' => __DIR__ . '/../view/mail/invite-employee.phtml', |
|
66 | + 'organizations/index/edit' => __DIR__ . '/../view/organizations/index/form.phtml', |
|
67 | + 'organizations/form/employees-fieldset' => __DIR__ . '/../view/form/employees-fieldset.phtml', |
|
68 | + 'organizations/form/employee-fieldset' => __DIR__ .'/../view/form/employee-fieldset.phtml', |
|
69 | + 'organizations/form/invite-employee-bar' => __DIR__ . '/../view/form/invite-employee-bar.phtml', |
|
70 | + 'organizations/error/no-parent' => __DIR__ . '/../view/error/no-parent.phtml', |
|
71 | + 'organizations/error/invite' => __DIR__ . '/../view/error/invite.phtml', |
|
72 | + 'organizations/mail/invite-employee' => __DIR__ . '/../view/mail/invite-employee.phtml', |
|
73 | 73 | ), |
74 | 74 | // Where to look for view templates not mapped above |
75 | 75 | 'template_path_stack' => array( |
@@ -78,13 +78,13 @@ discard block |
||
78 | 78 | ), |
79 | 79 | 'form_elements' => array( |
80 | 80 | 'invokables' => array( |
81 | - 'Organizations/form' => 'Organizations\Form\Organizations', |
|
82 | - 'Organizations/OrganizationsContactForm' => 'Organizations\Form\OrganizationsContactForm', |
|
83 | - 'Organizations/OrganizationsNameForm' => 'Organizations\Form\OrganizationsNameForm', |
|
84 | - 'Organizations/OrganizationsDescriptionForm' => 'Organizations\Form\OrganizationsDescriptionForm', |
|
85 | - 'Organizations/OrganizationsContactFieldset' => 'Organizations\Form\OrganizationsContactFieldset', |
|
86 | - 'Organizations/OrganizationsNameFieldset' => 'Organizations\Form\OrganizationsNameFieldset', |
|
87 | - 'Organizations/OrganizationsDescriptionFieldset' => 'Organizations\Form\OrganizationsDescriptionFieldset', |
|
81 | + 'Organizations/form' => 'Organizations\Form\Organizations', |
|
82 | + 'Organizations/OrganizationsContactForm' => 'Organizations\Form\OrganizationsContactForm', |
|
83 | + 'Organizations/OrganizationsNameForm' => 'Organizations\Form\OrganizationsNameForm', |
|
84 | + 'Organizations/OrganizationsDescriptionForm' => 'Organizations\Form\OrganizationsDescriptionForm', |
|
85 | + 'Organizations/OrganizationsContactFieldset' => 'Organizations\Form\OrganizationsContactFieldset', |
|
86 | + 'Organizations/OrganizationsNameFieldset' => 'Organizations\Form\OrganizationsNameFieldset', |
|
87 | + 'Organizations/OrganizationsDescriptionFieldset' => 'Organizations\Form\OrganizationsDescriptionFieldset', |
|
88 | 88 | //'Organizations/OrganizationFieldset' => 'Organizations\Form\OrganizationFieldset', |
89 | 89 | 'Organizations/EmployeesContainer' => 'Organizations\Form\EmployeesContainer', |
90 | 90 | 'Organizations/Employees' => 'Organizations\Form\Employees', |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | - * @license GPLv3 |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | + * @license GPLv3 |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** ActionController of Organizations */ |
11 | 11 | namespace Organizations\Controller; |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | if ($isRecruiter) { |
96 | 96 | $params->set('by', 'me'); |
97 | 97 | } |
98 | - //default sorting |
|
98 | + //default sorting |
|
99 | 99 | if (!isset($params['sort'])) { |
100 | 100 | $params->set('sort', "-name"); |
101 | 101 | } |
@@ -237,7 +237,7 @@ discard block |
||
237 | 237 | $container->disableForm('employeesManagement'); |
238 | 238 | } else { |
239 | 239 | $container->disableForm('organizationLogo') |
240 | - ->disableForm('descriptionForm'); |
|
240 | + ->disableForm('descriptionForm'); |
|
241 | 241 | } |
242 | 242 | return $container; |
243 | 243 | } |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @license MIT |
|
7 | - * @copyright 2013 - 2015 Cross Solution <http://cross-solution.de> |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @license MIT |
|
7 | + * @copyright 2013 - 2015 Cross Solution <http://cross-solution.de> |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** */ |
11 | 11 | namespace Organizations\Controller; |
@@ -99,8 +99,8 @@ discard block |
||
99 | 99 | $result = $this->forward()->dispatch('Auth\Controller\Password', array('action' => 'index')); |
100 | 100 | $model = new ViewModel( |
101 | 101 | array( |
102 | - 'organization' => $organization->getOrganizationName()->getName() |
|
103 | - ) |
|
102 | + 'organization' => $organization->getOrganizationName()->getName() |
|
103 | + ) |
|
104 | 104 | ); |
105 | 105 | |
106 | 106 | if (!$result->getVariable('valid', false)) { |
@@ -141,8 +141,8 @@ discard block |
||
141 | 141 | |
142 | 142 | return new ViewModel( |
143 | 143 | array( |
144 | - 'organization' => $organization->getOrganizationName()->getName() |
|
145 | - ) |
|
144 | + 'organization' => $organization->getOrganizationName()->getName() |
|
145 | + ) |
|
146 | 146 | ); |
147 | 147 | } |
148 | 148 |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @license MIT |
|
7 | - * @copyright 2013 - 2015 Cross Solution <http://cross-solution.de> |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @license MIT |
|
7 | + * @copyright 2013 - 2015 Cross Solution <http://cross-solution.de> |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** */ |
11 | 11 | namespace Organizations\Controller\Plugin; |
@@ -310,9 +310,9 @@ discard block |
||
310 | 310 | if (!$user) { |
311 | 311 | $user = $repository->create(); |
312 | 312 | $user->setEmail($email) |
313 | - ->setLogin($email) |
|
314 | - ->setRole(\Auth\Entity\User::ROLE_RECRUITER) |
|
315 | - ->setIsDraft(true); |
|
313 | + ->setLogin($email) |
|
314 | + ->setRole(\Auth\Entity\User::ROLE_RECRUITER) |
|
315 | + ->setIsDraft(true); |
|
316 | 316 | $info = $user->getInfo(); |
317 | 317 | /* @var $info \Auth\Entity\InfoInterface */ |
318 | 318 | $info->setEmail($email); |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** OrganizationEntityHydrator.php */ |
11 | 11 | namespace Organizations\Entity\Hydrator; |
@@ -41,11 +41,11 @@ discard block |
||
41 | 41 | } |
42 | 42 | |
43 | 43 | /** |
44 | - * Extract values from an object |
|
45 | - * |
|
46 | - * @param object $object |
|
47 | - * @return array |
|
48 | - */ |
|
44 | + * Extract values from an object |
|
45 | + * |
|
46 | + * @param object $object |
|
47 | + * @return array |
|
48 | + */ |
|
49 | 49 | public function extract($object) |
50 | 50 | { |
51 | 51 | $result = array(); |