@@ -42,13 +42,13 @@ |
||
42 | 42 | |
43 | 43 | $this->add( |
44 | 44 | array( |
45 | - 'type' => 'Jobs/MultipostingSelect', |
|
46 | - 'property' => true, |
|
47 | - 'name' => 'portals', |
|
48 | - 'options' => array( |
|
49 | - 'label' => /*@translate*/ 'Portals', |
|
50 | - ), |
|
51 | - ) |
|
45 | + 'type' => 'Jobs/MultipostingSelect', |
|
46 | + 'property' => true, |
|
47 | + 'name' => 'portals', |
|
48 | + 'options' => array( |
|
49 | + 'label' => /*@translate*/ 'Portals', |
|
50 | + ), |
|
51 | + ) |
|
52 | 52 | ); |
53 | 53 | } |
54 | 54 |
@@ -62,7 +62,7 @@ |
||
62 | 62 | 'priority' => 100, |
63 | 63 | 'label' => /*@translate*/ 'Basic Data', |
64 | 64 | 'options' => [ |
65 | - 'label' => /*@translate*/ 'Basic Data' |
|
65 | + 'label' => /*@translate*/ 'Basic Data' |
|
66 | 66 | ], |
67 | 67 | 'property' => true, |
68 | 68 | 'forms' => [ |
@@ -15,12 +15,12 @@ |
||
15 | 15 | |
16 | 16 | class UniqueApplyIdFactory implements FactoryInterface |
17 | 17 | { |
18 | - public function __invoke( ContainerInterface $container, $requestedName, array $options = null ) |
|
19 | - { |
|
20 | - $repositories = $container->get('repositories'); |
|
21 | - $jobs = $repositories->get('Jobs/Job'); |
|
22 | - $validator = new UniqueApplyId($jobs); |
|
18 | + public function __invoke( ContainerInterface $container, $requestedName, array $options = null ) |
|
19 | + { |
|
20 | + $repositories = $container->get('repositories'); |
|
21 | + $jobs = $repositories->get('Jobs/Job'); |
|
22 | + $validator = new UniqueApplyId($jobs); |
|
23 | 23 | |
24 | - return $validator; |
|
25 | - } |
|
24 | + return $validator; |
|
25 | + } |
|
26 | 26 | } |
@@ -28,8 +28,8 @@ |
||
28 | 28 | |
29 | 29 | public function init() |
30 | 30 | { |
31 | - $this->setAttribute('id','customerNoteFieldset'); |
|
32 | - $this->setName('customerNote'); |
|
31 | + $this->setAttribute('id','customerNoteFieldset'); |
|
32 | + $this->setName('customerNote'); |
|
33 | 33 | $this->add([ |
34 | 34 | 'type' => 'Textarea', |
35 | 35 | 'name' => 'note', |
@@ -18,20 +18,20 @@ discard block |
||
18 | 18 | |
19 | 19 | return [ |
20 | 20 | 'doctrine' => [ |
21 | - 'driver' => [ |
|
21 | + 'driver' => [ |
|
22 | 22 | 'odm_default' => [ |
23 | 23 | 'drivers' => [ |
24 | 24 | 'Applications\Entity' => 'annotation', |
25 | 25 | ], |
26 | 26 | ], |
27 | 27 | 'annotation' => [ |
28 | - /* |
|
28 | + /* |
|
29 | 29 | * All drivers (except DriverChain) require paths to work on. You |
30 | 30 | * may set this value as a string (for a single path) or an array |
31 | 31 | * for multiple paths. |
32 | 32 | * example https://github.com/doctrine/DoctrineORMModule |
33 | 33 | */ |
34 | - 'paths' => [ __DIR__ . '/../src/Applications/Entity'] |
|
34 | + 'paths' => [ __DIR__ . '/../src/Applications/Entity'] |
|
35 | 35 | ], |
36 | 36 | ], |
37 | 37 | 'eventmanager' => [ |
@@ -71,17 +71,17 @@ discard block |
||
71 | 71 | 'Applications/Options/ModuleOptions' => 'Applications\Options\ModuleOptions', |
72 | 72 | ], |
73 | 73 | 'factories' => [ |
74 | - 'Applications/Options' => 'Applications\Factory\ModuleOptionsFactory', |
|
75 | - 'ApplicationRepository' => 'Applications\Repository\Service\ApplicationRepositoryFactory', |
|
76 | - 'ApplicationMapper' => 'Applications\Repository\Service\ApplicationMapperFactory', |
|
77 | - 'EducationMapper' => 'Applications\Repository\Service\EducationMapperFactory', |
|
78 | - 'Applications/Listener/ApplicationCreated' => 'Applications\Factory\Listener\EventApplicationCreatedFactory', |
|
79 | - 'Applications/Listener/ApplicationStatusChangePre' => 'Applications\Factory\Listener\StatusChangeFactory', |
|
80 | - 'Applications\Auth\Dependency\ListListener' => 'Applications\Factory\Auth\Dependency\ListListenerFactory', |
|
74 | + 'Applications/Options' => 'Applications\Factory\ModuleOptionsFactory', |
|
75 | + 'ApplicationRepository' => 'Applications\Repository\Service\ApplicationRepositoryFactory', |
|
76 | + 'ApplicationMapper' => 'Applications\Repository\Service\ApplicationMapperFactory', |
|
77 | + 'EducationMapper' => 'Applications\Repository\Service\EducationMapperFactory', |
|
78 | + 'Applications/Listener/ApplicationCreated' => 'Applications\Factory\Listener\EventApplicationCreatedFactory', |
|
79 | + 'Applications/Listener/ApplicationStatusChangePre' => 'Applications\Factory\Listener\StatusChangeFactory', |
|
80 | + 'Applications\Auth\Dependency\ListListener' => 'Applications\Factory\Auth\Dependency\ListListenerFactory', |
|
81 | 81 | Listener\JobSelectValues::class => Factory\Listener\JobSelectValuesFactory::class, |
82 | 82 | ], |
83 | 83 | 'aliases' => [ |
84 | - 'Applications/Listener/ApplicationStatusChangePost' => 'Applications/Listener/ApplicationStatusChangePre' |
|
84 | + 'Applications/Listener/ApplicationStatusChangePost' => 'Applications/Listener/ApplicationStatusChangePre' |
|
85 | 85 | ] |
86 | 86 | ], |
87 | 87 | |
@@ -90,12 +90,12 @@ discard block |
||
90 | 90 | 'Applications\Controller\Index' => 'Applications\Controller\IndexController', |
91 | 91 | 'Applications\Controller\MultiManage' => 'Applications\Controller\MultimanageController', |
92 | 92 | ], |
93 | - 'factories' => [ |
|
94 | - 'Applications/Controller/Manage' => [ManageController::class,'factory'], |
|
95 | - 'Applications\Controller\Apply' => [ApplyController::class,'factory'], |
|
96 | - 'Applications/CommentController' => [CommentController::class,'factory'], |
|
97 | - 'Applications/Console' => [ConsoleController::class,'factory'], |
|
98 | - ] |
|
93 | + 'factories' => [ |
|
94 | + 'Applications/Controller/Manage' => [ManageController::class,'factory'], |
|
95 | + 'Applications\Controller\Apply' => [ApplyController::class,'factory'], |
|
96 | + 'Applications/CommentController' => [CommentController::class,'factory'], |
|
97 | + 'Applications/Console' => [ConsoleController::class,'factory'], |
|
98 | + ] |
|
99 | 99 | ], |
100 | 100 | |
101 | 101 | 'acl' => [ |
@@ -184,20 +184,20 @@ discard block |
||
184 | 184 | ], |
185 | 185 | 'form_elements' => [ |
186 | 186 | 'invokables' => [ |
187 | - 'Applications/Mail' => 'Applications\Form\Mail', |
|
188 | - 'Applications/BaseFieldset' => 'Applications\Form\BaseFieldset', |
|
189 | - 'Applications/SettingsFieldset' => 'Applications\Form\SettingsFieldset', |
|
190 | - 'Applications/CommentForm' => 'Applications\Form\CommentForm', |
|
191 | - 'Applications/CommentFieldset' => 'Applications\Form\CommentFieldset', |
|
192 | - 'Applications/Apply' => 'Applications\Form\Apply', |
|
193 | - 'Applications/Contact' => 'Applications\Form\ContactContainer', |
|
194 | - 'Applications/Base' => 'Applications\Form\Base', |
|
195 | - 'Applications/Facts' => 'Applications\Form\Facts', |
|
196 | - 'Applications/FactsFieldset' => 'Applications\Form\FactsFieldset', |
|
197 | - 'Applications/Attributes' => 'Applications\Form\Attributes', |
|
198 | - 'href' => 'Applications\Form\Element\Ref', |
|
187 | + 'Applications/Mail' => 'Applications\Form\Mail', |
|
188 | + 'Applications/BaseFieldset' => 'Applications\Form\BaseFieldset', |
|
189 | + 'Applications/SettingsFieldset' => 'Applications\Form\SettingsFieldset', |
|
190 | + 'Applications/CommentForm' => 'Applications\Form\CommentForm', |
|
191 | + 'Applications/CommentFieldset' => 'Applications\Form\CommentFieldset', |
|
192 | + 'Applications/Apply' => 'Applications\Form\Apply', |
|
193 | + 'Applications/Contact' => 'Applications\Form\ContactContainer', |
|
194 | + 'Applications/Base' => 'Applications\Form\Base', |
|
195 | + 'Applications/Facts' => 'Applications\Form\Facts', |
|
196 | + 'Applications/FactsFieldset' => 'Applications\Form\FactsFieldset', |
|
197 | + 'Applications/Attributes' => 'Applications\Form\Attributes', |
|
198 | + 'href' => 'Applications\Form\Element\Ref', |
|
199 | 199 | |
200 | - ], |
|
200 | + ], |
|
201 | 201 | 'factories' => [ |
202 | 202 | 'Applications/ContactImage' => 'Applications\Factory\Form\ContactImageFactory', |
203 | 203 | 'Applications/Attachments' => 'Applications\Factory\Form\AttachmentsFactory', |
@@ -205,7 +205,7 @@ discard block |
||
205 | 205 | 'Applications\Form\Element\StatusSelect' => Factory\Form\StatusSelectFactory::class, |
206 | 206 | Form\Element\JobSelect::class => Factory\Form\JobSelectFactory::class |
207 | 207 | ], |
208 | - ], |
|
208 | + ], |
|
209 | 209 | |
210 | 210 | 'form_elements_config' => [ |
211 | 211 | 'Applications/Apply' => [ |
@@ -36,9 +36,9 @@ discard block |
||
36 | 36 | * @var array $attachmentsMimeType |
37 | 37 | */ |
38 | 38 | protected $attachmentsMimeType = array( |
39 | - 'image', |
|
40 | - 'application/pdf', |
|
41 | - 'applications/pdf', |
|
39 | + 'image', |
|
40 | + 'application/pdf', |
|
41 | + 'applications/pdf', |
|
42 | 42 | 'application/x-pdf', |
43 | 43 | 'application/acrobat', |
44 | 44 | 'applications/vnd.pdf', |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | |
85 | 85 | protected $workflow = [ |
86 | 86 | |
87 | - 'recruiter', |
|
87 | + 'recruiter', |
|
88 | 88 | ]; |
89 | 89 | |
90 | 90 | /** |
@@ -222,13 +222,13 @@ discard block |
||
222 | 222 | } |
223 | 223 | |
224 | 224 | /** |
225 | - * @return boolean |
|
226 | - * @since 0.27 |
|
227 | - */ |
|
228 | - public function getAllowSubsequentAttachmentUpload() |
|
229 | - { |
|
230 | - return $this->allowSubsequentAttachmentUpload; |
|
231 | - } |
|
225 | + * @return boolean |
|
226 | + * @since 0.27 |
|
227 | + */ |
|
228 | + public function getAllowSubsequentAttachmentUpload() |
|
229 | + { |
|
230 | + return $this->allowSubsequentAttachmentUpload; |
|
231 | + } |
|
232 | 232 | |
233 | 233 | /** |
234 | 234 | * @param boolean $allowSubsequentAttachmentUpload |
@@ -26,24 +26,24 @@ |
||
26 | 26 | */ |
27 | 27 | class PaginationQueryFactory implements FactoryInterface |
28 | 28 | { |
29 | - public function __invoke( ContainerInterface $container, $requestedName, array $options = null ) |
|
30 | - { |
|
31 | - $auth = $container->get('AuthenticationService'); |
|
32 | - $filter = new PaginationQuery($auth); |
|
33 | - return $filter; |
|
34 | - } |
|
29 | + public function __invoke( ContainerInterface $container, $requestedName, array $options = null ) |
|
30 | + { |
|
31 | + $auth = $container->get('AuthenticationService'); |
|
32 | + $filter = new PaginationQuery($auth); |
|
33 | + return $filter; |
|
34 | + } |
|
35 | 35 | |
36 | - /** |
|
37 | - * Creates pagination Service |
|
38 | - * |
|
39 | - * @see \Zend\ServiceManager\FactoryInterface::createService() |
|
40 | - * |
|
41 | - * @param ContainerInterface $container |
|
42 | - * @return PaginationQuery|mixed |
|
43 | - * @internal param ServiceLocatorInterface $serviceLocator |
|
44 | - */ |
|
36 | + /** |
|
37 | + * Creates pagination Service |
|
38 | + * |
|
39 | + * @see \Zend\ServiceManager\FactoryInterface::createService() |
|
40 | + * |
|
41 | + * @param ContainerInterface $container |
|
42 | + * @return PaginationQuery|mixed |
|
43 | + * @internal param ServiceLocatorInterface $serviceLocator |
|
44 | + */ |
|
45 | 45 | public function createService(ContainerInterface $container) |
46 | 46 | { |
47 | - return $this($container,PaginationQuery::class); |
|
47 | + return $this($container,PaginationQuery::class); |
|
48 | 48 | } |
49 | 49 | } |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | * @param ApplicationEvent $e |
70 | 70 | */ |
71 | 71 | public function prepareFormData(ApplicationEvent $e){ |
72 | - $target = $e->getTarget(); |
|
72 | + $target = $e->getTarget(); |
|
73 | 73 | if ($target->isPostRequest()) { |
74 | 74 | return; |
75 | 75 | } |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | * @param ApplicationEvent $event |
124 | 124 | */ |
125 | 125 | public function sendMail(ApplicationEvent $event){ |
126 | - $event = $event->getTarget(); |
|
126 | + $event = $event->getTarget(); |
|
127 | 127 | if (!$event->isPostRequest()) { |
128 | 128 | return; |
129 | 129 | } |
@@ -43,7 +43,7 @@ |
||
43 | 43 | $options = $options ?: $this->options; |
44 | 44 | $router = $container->get('Router'); |
45 | 45 | $options['router'] = $router; |
46 | - $this->setCreationOptions($options); |
|
46 | + $this->setCreationOptions($options); |
|
47 | 47 | $mail = new NewApplication($options); |
48 | 48 | |
49 | 49 | return $mail; |