@@ -27,7 +27,7 @@ |
||
| 27 | 27 | * |
| 28 | 28 | * @param ServiceLocatorInterface $serviceLocator |
| 29 | 29 | * |
| 30 | - * @return mixed |
|
| 30 | + * @return StatusChange |
|
| 31 | 31 | */ |
| 32 | 32 | public function createService(ServiceLocatorInterface $serviceLocator) |
| 33 | 33 | { |
@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | } |
| 141 | 141 | |
| 142 | 142 | /** |
| 143 | - * @param $notification |
|
| 143 | + * @param string $notification |
|
| 144 | 144 | * |
| 145 | 145 | * @return $this |
| 146 | 146 | */ |
@@ -170,7 +170,7 @@ discard block |
||
| 170 | 170 | } |
| 171 | 171 | |
| 172 | 172 | /** |
| 173 | - * @return mixed |
|
| 173 | + * @return string |
|
| 174 | 174 | */ |
| 175 | 175 | public function getStatus() |
| 176 | 176 | { |
@@ -178,7 +178,7 @@ discard block |
||
| 178 | 178 | } |
| 179 | 179 | |
| 180 | 180 | /** |
| 181 | - * @return mixed |
|
| 181 | + * @return boolean |
|
| 182 | 182 | */ |
| 183 | 183 | public function isPostRequest() |
| 184 | 184 | { |
@@ -186,7 +186,7 @@ discard block |
||
| 186 | 186 | } |
| 187 | 187 | |
| 188 | 188 | /** |
| 189 | - * @param $flag |
|
| 189 | + * @param boolean $flag |
|
| 190 | 190 | * |
| 191 | 191 | * @return $this |
| 192 | 192 | */ |
@@ -205,7 +205,7 @@ discard block |
||
| 205 | 205 | } |
| 206 | 206 | |
| 207 | 207 | /** |
| 208 | - * @param $data |
|
| 208 | + * @param \Zend\Stdlib\ParametersInterface $data |
|
| 209 | 209 | * |
| 210 | 210 | * @return $this |
| 211 | 211 | */ |
@@ -30,17 +30,17 @@ discard block |
||
| 30 | 30 | /** |
| 31 | 31 | * Event is fired when a new application is saved. |
| 32 | 32 | */ |
| 33 | - const EVENT_APPLICATION_POST_CREATE = 'application.post.create'; |
|
| 33 | + const EVENT_APPLICATION_POST_CREATE = 'application.post.create'; |
|
| 34 | 34 | |
| 35 | 35 | /** |
| 36 | 36 | * Event is fired when a users deleted application |
| 37 | 37 | */ |
| 38 | - const EVENT_APPLICATION_PRE_DELETE = 'application.pre.delete'; |
|
| 38 | + const EVENT_APPLICATION_PRE_DELETE = 'application.pre.delete'; |
|
| 39 | 39 | |
| 40 | 40 | /** |
| 41 | 41 | * Event is fired when the status of an application is changed |
| 42 | 42 | */ |
| 43 | - const EVENT_APPLICATION_STATUS_CHANGE = 'application.status.change'; |
|
| 43 | + const EVENT_APPLICATION_STATUS_CHANGE = 'application.status.change'; |
|
| 44 | 44 | |
| 45 | 45 | /** |
| 46 | 46 | * @var Application $application |
@@ -233,12 +233,12 @@ discard block |
||
| 233 | 233 | $this->setApplicationEntity($params->application); |
| 234 | 234 | } |
| 235 | 235 | |
| 236 | - if(is_array($params) && isset($params['user'])) { |
|
| 236 | + if (is_array($params) && isset($params['user'])) { |
|
| 237 | 237 | $this->setUser($params['user']); |
| 238 | 238 | unset($params['user']); |
| 239 | 239 | } |
| 240 | 240 | |
| 241 | - if(is_array($params) && isset($params['status'])) { |
|
| 241 | + if (is_array($params) && isset($params['status'])) { |
|
| 242 | 242 | $this->setStatus($params['status']); |
| 243 | 243 | unset($params['status']); |
| 244 | 244 | } |
@@ -157,7 +157,7 @@ |
||
| 157 | 157 | |
| 158 | 158 | /** |
| 159 | 159 | * @param Application $application |
| 160 | - * @param $status |
|
| 160 | + * @param string $status |
|
| 161 | 161 | * |
| 162 | 162 | * @return AddressList |
| 163 | 163 | */ |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | * |
| 69 | 69 | * @param ApplicationEvent $e |
| 70 | 70 | */ |
| 71 | - public function prepareFormData(ApplicationEvent $e){ |
|
| 71 | + public function prepareFormData(ApplicationEvent $e) { |
|
| 72 | 72 | if ($e->isPostRequest()) { |
| 73 | 73 | return; |
| 74 | 74 | } |
@@ -95,13 +95,13 @@ discard block |
||
| 95 | 95 | $key = 'mailRejectionText'; |
| 96 | 96 | break; |
| 97 | 97 | default: |
| 98 | - throw new \InvalidArgumentException('Unknown status value: ' .$status); |
|
| 98 | + throw new \InvalidArgumentException('Unknown status value: '.$status); |
|
| 99 | 99 | } |
| 100 | - $mailText = $settings->$key ? $settings->$key : ''; |
|
| 100 | + $mailText = $settings->$key ? $settings->$key : ''; |
|
| 101 | 101 | $mail->setBody($mailText); |
| 102 | 102 | $mail->setApplication($this->application); |
| 103 | 103 | $mailText = $mail->getBodyText(); |
| 104 | - $mailSubject = sprintf( |
|
| 104 | + $mailSubject = sprintf( |
|
| 105 | 105 | $this->translator->translate('Your application dated %s'), |
| 106 | 106 | strftime('%x', $this->application->getDateCreated()->getTimestamp()) |
| 107 | 107 | ); |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | * |
| 122 | 122 | * @param ApplicationEvent $event |
| 123 | 123 | */ |
| 124 | - public function sendMail(ApplicationEvent $event){ |
|
| 124 | + public function sendMail(ApplicationEvent $event) { |
|
| 125 | 125 | if (!$event->isPostRequest()) { |
| 126 | 126 | return; |
| 127 | 127 | } |
@@ -138,7 +138,7 @@ discard block |
||
| 138 | 138 | |
| 139 | 139 | $mail->setSubject($post['mailSubject']); |
| 140 | 140 | $mail->setBody($post['mailText']); |
| 141 | - $mail->setTo($this->getRecipients($this->application,$status)); |
|
| 141 | + $mail->setTo($this->getRecipients($this->application, $status)); |
|
| 142 | 142 | |
| 143 | 143 | if ($from = $this->application->getJob()->getContactEmail()) { |
| 144 | 144 | $mail->setFrom($from, $this->application->getJob()->getCompany()); |
@@ -161,7 +161,7 @@ discard block |
||
| 161 | 161 | * |
| 162 | 162 | * @return AddressList |
| 163 | 163 | */ |
| 164 | - protected function getRecipients( Application $application, $status) { |
|
| 164 | + protected function getRecipients(Application $application, $status) { |
|
| 165 | 165 | |
| 166 | 166 | $job = $application->getJob(); |
| 167 | 167 | $organization = $job->getOrganization(); |
@@ -170,13 +170,13 @@ discard block |
||
| 170 | 170 | $cc = new AddressList(); |
| 171 | 171 | $bcc = new AddressList(); |
| 172 | 172 | |
| 173 | - switch($status) { |
|
| 173 | + switch ($status) { |
|
| 174 | 174 | case Status::INCOMING: |
| 175 | 175 | /* @var WorkflowSettings $workflow */ |
| 176 | 176 | $workflow = $job->getOrganization()->getWorkflowSettings(); |
| 177 | 177 | if ($workflow->getAcceptApplicationByDepartmentManager()) { |
| 178 | 178 | $departmentManagers = $job->getOrganization()->getEmployeesByRole(EmployeeInterface::ROLE_DEPARTMENT_MANAGER); |
| 179 | - foreach($departmentManagers as $employee ) { /* @var Employee $employee */ |
|
| 179 | + foreach ($departmentManagers as $employee) { /* @var Employee $employee */ |
|
| 180 | 180 | $to->add( |
| 181 | 181 | $employee->getUser()->getInfo()->getEmail(), |
| 182 | 182 | $employee->getUser()->getInfo()->getDisplayName(false) |
@@ -216,7 +216,7 @@ discard block |
||
| 216 | 216 | ); |
| 217 | 217 | break; |
| 218 | 218 | default: |
| 219 | - throw new \InvalidArgumentException('Unknown status value: ' .$status); |
|
| 219 | + throw new \InvalidArgumentException('Unknown status value: '.$status); |
|
| 220 | 220 | break; |
| 221 | 221 | } |
| 222 | 222 | |
@@ -64,13 +64,13 @@ discard block |
||
| 64 | 64 | 'view_manager' => array( |
| 65 | 65 | // Map template to files. Speeds up the lookup through the template stack. |
| 66 | 66 | 'template_map' => array( |
| 67 | - 'organizations/index/edit' => __DIR__ . '/../view/organizations/index/form.phtml', |
|
| 68 | - 'organizations/form/employees-fieldset' => __DIR__ . '/../view/form/employees-fieldset.phtml', |
|
| 69 | - 'organizations/form/employee-fieldset' => __DIR__ .'/../view/form/employee-fieldset.phtml', |
|
| 70 | - 'organizations/form/invite-employee-bar' => __DIR__ . '/../view/form/invite-employee-bar.phtml', |
|
| 71 | - 'organizations/error/no-parent' => __DIR__ . '/../view/error/no-parent.phtml', |
|
| 72 | - 'organizations/error/invite' => __DIR__ . '/../view/error/invite.phtml', |
|
| 73 | - 'organizations/mail/invite-employee' => __DIR__ . '/../view/mail/invite-employee.phtml', |
|
| 67 | + 'organizations/index/edit' => __DIR__ . '/../view/organizations/index/form.phtml', |
|
| 68 | + 'organizations/form/employees-fieldset' => __DIR__ . '/../view/form/employees-fieldset.phtml', |
|
| 69 | + 'organizations/form/employee-fieldset' => __DIR__ .'/../view/form/employee-fieldset.phtml', |
|
| 70 | + 'organizations/form/invite-employee-bar' => __DIR__ . '/../view/form/invite-employee-bar.phtml', |
|
| 71 | + 'organizations/error/no-parent' => __DIR__ . '/../view/error/no-parent.phtml', |
|
| 72 | + 'organizations/error/invite' => __DIR__ . '/../view/error/invite.phtml', |
|
| 73 | + 'organizations/mail/invite-employee' => __DIR__ . '/../view/mail/invite-employee.phtml', |
|
| 74 | 74 | 'organizations/form/workflow-fieldset' => __DIR__ . '/../view/form/workflow-fieldset.phtml', |
| 75 | 75 | ), |
| 76 | 76 | // Where to look for view templates not mapped above |
@@ -80,20 +80,20 @@ discard block |
||
| 80 | 80 | ), |
| 81 | 81 | 'form_elements' => array( |
| 82 | 82 | 'invokables' => array( |
| 83 | - 'Organizations/form' => 'Organizations\Form\Organizations', |
|
| 84 | - 'Organizations/OrganizationsContactForm' => 'Organizations\Form\OrganizationsContactForm', |
|
| 85 | - 'Organizations/OrganizationsNameForm' => 'Organizations\Form\OrganizationsNameForm', |
|
| 86 | - 'Organizations/OrganizationsDescriptionForm' => 'Organizations\Form\OrganizationsDescriptionForm', |
|
| 87 | - 'Organizations/OrganizationsContactFieldset' => 'Organizations\Form\OrganizationsContactFieldset', |
|
| 88 | - 'Organizations/OrganizationsNameFieldset' => 'Organizations\Form\OrganizationsNameFieldset', |
|
| 89 | - 'Organizations/OrganizationsDescriptionFieldset' => 'Organizations\Form\OrganizationsDescriptionFieldset', |
|
| 90 | - //'Organizations/OrganizationFieldset' => 'Organizations\Form\OrganizationFieldset', |
|
| 91 | - 'Organizations/EmployeesContainer' => 'Organizations\Form\EmployeesContainer', |
|
| 92 | - 'Organizations/Employees' => 'Organizations\Form\Employees', |
|
| 93 | - 'Organizations/InviteEmployeeBar' => 'Organizations\Form\Element\InviteEmployeeBar', |
|
| 94 | - 'Organizations/Employee' => 'Organizations\Form\Element\Employee', |
|
| 95 | - 'Organizations/WorkflowSettings' => 'Organizations\Form\WorkflowSettings', |
|
| 96 | - 'Organizations/WorkflowSettingsFieldset' => 'Organizations\Form\WorkflowSettingsFieldset', |
|
| 83 | + 'Organizations/form' => 'Organizations\Form\Organizations', |
|
| 84 | + 'Organizations/OrganizationsContactForm' => 'Organizations\Form\OrganizationsContactForm', |
|
| 85 | + 'Organizations/OrganizationsNameForm' => 'Organizations\Form\OrganizationsNameForm', |
|
| 86 | + 'Organizations/OrganizationsDescriptionForm' => 'Organizations\Form\OrganizationsDescriptionForm', |
|
| 87 | + 'Organizations/OrganizationsContactFieldset' => 'Organizations\Form\OrganizationsContactFieldset', |
|
| 88 | + 'Organizations/OrganizationsNameFieldset' => 'Organizations\Form\OrganizationsNameFieldset', |
|
| 89 | + 'Organizations/OrganizationsDescriptionFieldset' => 'Organizations\Form\OrganizationsDescriptionFieldset', |
|
| 90 | + //'Organizations/OrganizationFieldset' => 'Organizations\Form\OrganizationFieldset', |
|
| 91 | + 'Organizations/EmployeesContainer' => 'Organizations\Form\EmployeesContainer', |
|
| 92 | + 'Organizations/Employees' => 'Organizations\Form\Employees', |
|
| 93 | + 'Organizations/InviteEmployeeBar' => 'Organizations\Form\Element\InviteEmployeeBar', |
|
| 94 | + 'Organizations/Employee' => 'Organizations\Form\Element\Employee', |
|
| 95 | + 'Organizations/WorkflowSettings' => 'Organizations\Form\WorkflowSettings', |
|
| 96 | + 'Organizations/WorkflowSettingsFieldset' => 'Organizations\Form\WorkflowSettingsFieldset', |
|
| 97 | 97 | |
| 98 | 98 | ), |
| 99 | 99 | 'factories' => array( |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | 'translation_file_patterns' => array( |
| 37 | 37 | array( |
| 38 | 38 | 'type' => 'gettext', |
| 39 | - 'base_dir' => __DIR__ . '/../language', |
|
| 39 | + 'base_dir' => __DIR__.'/../language', |
|
| 40 | 40 | 'pattern' => '%s.mo', |
| 41 | 41 | ), |
| 42 | 42 | ), |
@@ -64,18 +64,18 @@ discard block |
||
| 64 | 64 | 'view_manager' => array( |
| 65 | 65 | // Map template to files. Speeds up the lookup through the template stack. |
| 66 | 66 | 'template_map' => array( |
| 67 | - 'organizations/index/edit' => __DIR__ . '/../view/organizations/index/form.phtml', |
|
| 68 | - 'organizations/form/employees-fieldset' => __DIR__ . '/../view/form/employees-fieldset.phtml', |
|
| 69 | - 'organizations/form/employee-fieldset' => __DIR__ .'/../view/form/employee-fieldset.phtml', |
|
| 70 | - 'organizations/form/invite-employee-bar' => __DIR__ . '/../view/form/invite-employee-bar.phtml', |
|
| 71 | - 'organizations/error/no-parent' => __DIR__ . '/../view/error/no-parent.phtml', |
|
| 72 | - 'organizations/error/invite' => __DIR__ . '/../view/error/invite.phtml', |
|
| 73 | - 'organizations/mail/invite-employee' => __DIR__ . '/../view/mail/invite-employee.phtml', |
|
| 74 | - 'organizations/form/workflow-fieldset' => __DIR__ . '/../view/form/workflow-fieldset.phtml', |
|
| 67 | + 'organizations/index/edit' => __DIR__.'/../view/organizations/index/form.phtml', |
|
| 68 | + 'organizations/form/employees-fieldset' => __DIR__.'/../view/form/employees-fieldset.phtml', |
|
| 69 | + 'organizations/form/employee-fieldset' => __DIR__.'/../view/form/employee-fieldset.phtml', |
|
| 70 | + 'organizations/form/invite-employee-bar' => __DIR__.'/../view/form/invite-employee-bar.phtml', |
|
| 71 | + 'organizations/error/no-parent' => __DIR__.'/../view/error/no-parent.phtml', |
|
| 72 | + 'organizations/error/invite' => __DIR__.'/../view/error/invite.phtml', |
|
| 73 | + 'organizations/mail/invite-employee' => __DIR__.'/../view/mail/invite-employee.phtml', |
|
| 74 | + 'organizations/form/workflow-fieldset' => __DIR__.'/../view/form/workflow-fieldset.phtml', |
|
| 75 | 75 | ), |
| 76 | 76 | // Where to look for view templates not mapped above |
| 77 | 77 | 'template_path_stack' => array( |
| 78 | - __DIR__ . '/../view', |
|
| 78 | + __DIR__.'/../view', |
|
| 79 | 79 | ), |
| 80 | 80 | ), |
| 81 | 81 | 'form_elements' => array( |
@@ -158,8 +158,8 @@ discard block |
||
| 158 | 158 | 'organizations' => array( |
| 159 | 159 | 'label' => 'Organizations', |
| 160 | 160 | 'route' => 'lang/organizations', |
| 161 | - 'order' => 65, // allows to order the menu items |
|
| 162 | - 'resource' => 'route/lang/organizations', // if a resource is defined, the acl will be applied. |
|
| 161 | + 'order' => 65, // allows to order the menu items |
|
| 162 | + 'resource' => 'route/lang/organizations', // if a resource is defined, the acl will be applied. |
|
| 163 | 163 | |
| 164 | 164 | 'pages' => array( |
| 165 | 165 | 'list' => array( |
@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | * @param bool $acceptApplicationByDepartmentManager |
| 18 | 18 | * @return WorkflowSettings |
| 19 | 19 | */ |
| 20 | - public function setAcceptApplicationByDepartmentManager( $acceptApplicationByDepartmentManager ); |
|
| 20 | + public function setAcceptApplicationByDepartmentManager($acceptApplicationByDepartmentManager); |
|
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | 23 | * Gets AcceptApplicationByDepartmentManager |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | * @param bool $assignDepartmentManagersToJobs |
| 33 | 33 | * @return WorkflowSettings |
| 34 | 34 | */ |
| 35 | - public function setAssignDepartmentManagersToJobs( $assignDepartmentManagersToJobs ); |
|
| 35 | + public function setAssignDepartmentManagersToJobs($assignDepartmentManagersToJobs); |
|
| 36 | 36 | |
| 37 | 37 | /** |
| 38 | 38 | * Gets AssignDepartmentManagersToJobs |
@@ -335,7 +335,7 @@ discard block |
||
| 335 | 335 | */ |
| 336 | 336 | public function getPermissionsResourceId() |
| 337 | 337 | { |
| 338 | - return 'organization:' . $this->getId(); |
|
| 338 | + return 'organization:'.$this->getId(); |
|
| 339 | 339 | } |
| 340 | 340 | |
| 341 | 341 | /** |
@@ -547,7 +547,7 @@ discard block |
||
| 547 | 547 | * @param string $role |
| 548 | 548 | * @return ArrayCollection |
| 549 | 549 | */ |
| 550 | - public function getEmployeesByRole($role){ |
|
| 550 | + public function getEmployeesByRole($role) { |
|
| 551 | 551 | $employees = new ArrayCollection(); |
| 552 | 552 | |
| 553 | 553 | /* @var \Organizations\Entity\Employee $employee */ |
@@ -665,7 +665,7 @@ discard block |
||
| 665 | 665 | */ |
| 666 | 666 | public function getTemplate() |
| 667 | 667 | { |
| 668 | - if (null === $this->template){ |
|
| 668 | + if (null === $this->template) { |
|
| 669 | 669 | $this->template = new Template(); |
| 670 | 670 | } |
| 671 | 671 | return $this->template; |
@@ -678,7 +678,7 @@ discard block |
||
| 678 | 678 | */ |
| 679 | 679 | public function setTemplate(TemplateInterface $template) |
| 680 | 680 | { |
| 681 | - $this->template=$template; |
|
| 681 | + $this->template = $template; |
|
| 682 | 682 | return $this; |
| 683 | 683 | } |
| 684 | 684 | |
@@ -687,7 +687,7 @@ discard block |
||
| 687 | 687 | * |
| 688 | 688 | * @return WorkflowSettings|WorkflowSettingsInterface |
| 689 | 689 | */ |
| 690 | - public function getWorkflowSettings(){ |
|
| 690 | + public function getWorkflowSettings() { |
|
| 691 | 691 | if (null == $this->workflowSettings) { |
| 692 | 692 | $this->workflowSettings = new WorkflowSettings(); |
| 693 | 693 | } |
@@ -701,8 +701,8 @@ discard block |
||
| 701 | 701 | * |
| 702 | 702 | * @return self |
| 703 | 703 | */ |
| 704 | - public function setWorkflowSettings($workflowSettings){ |
|
| 705 | - $this->workflowSettings=$workflowSettings; |
|
| 704 | + public function setWorkflowSettings($workflowSettings) { |
|
| 705 | + $this->workflowSettings = $workflowSettings; |
|
| 706 | 706 | return $this; |
| 707 | 707 | } |
| 708 | 708 | } |
| 709 | 709 | \ No newline at end of file |
@@ -40,9 +40,9 @@ discard block |
||
| 40 | 40 | * @param bool $acceptApplicationByDepartmentManager |
| 41 | 41 | * @return WorkflowSettings |
| 42 | 42 | */ |
| 43 | - public function setAcceptApplicationByDepartmentManager( $acceptApplicationByDepartmentManager ) |
|
| 43 | + public function setAcceptApplicationByDepartmentManager($acceptApplicationByDepartmentManager) |
|
| 44 | 44 | { |
| 45 | - $this->acceptApplicationByDepartmentManager= $acceptApplicationByDepartmentManager; |
|
| 45 | + $this->acceptApplicationByDepartmentManager = $acceptApplicationByDepartmentManager; |
|
| 46 | 46 | return $this; |
| 47 | 47 | } |
| 48 | 48 | |
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | * @param bool $assignDepartmentManagersToJobs |
| 63 | 63 | * @return WorkflowSettings |
| 64 | 64 | */ |
| 65 | - public function setAssignDepartmentManagersToJobs( $assignDepartmentManagersToJobs ) |
|
| 65 | + public function setAssignDepartmentManagersToJobs($assignDepartmentManagersToJobs) |
|
| 66 | 66 | { |
| 67 | 67 | $this->assignDepartmentManagersToJobs = $assignDepartmentManagersToJobs; |
| 68 | 68 | return $this; |
@@ -95,7 +95,7 @@ |
||
| 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 | } |
@@ -10,21 +10,21 @@ discard block |
||
| 10 | 10 | |
| 11 | 11 | return array( |
| 12 | 12 | 'doctrine' => array( |
| 13 | - 'driver' => array( |
|
| 13 | + 'driver' => array( |
|
| 14 | 14 | 'odm_default' => array( |
| 15 | 15 | 'drivers' => array( |
| 16 | 16 | 'Applications\Entity' => 'annotation', |
| 17 | 17 | ), |
| 18 | 18 | ), |
| 19 | 19 | 'annotation' => array( |
| 20 | - /* |
|
| 20 | + /* |
|
| 21 | 21 | * All drivers (except DriverChain) require paths to work on. You |
| 22 | 22 | * may set this value as a string (for a single path) or an array |
| 23 | 23 | * for multiple paths. |
| 24 | 24 | * example https://github.com/doctrine/DoctrineORMModule |
| 25 | 25 | */ |
| 26 | - 'paths' => array( __DIR__ . '/../src/Applications/Entity', |
|
| 27 | - __DIR__ . '/../../../module/Cv/src/Cv/Entity'), |
|
| 26 | + 'paths' => array( __DIR__ . '/../src/Applications/Entity', |
|
| 27 | + __DIR__ . '/../../../module/Cv/src/Cv/Entity'), |
|
| 28 | 28 | ), |
| 29 | 29 | ), |
| 30 | 30 | 'eventmanager' => array( |
@@ -64,15 +64,15 @@ discard block |
||
| 64 | 64 | 'Applications/Options/ModuleOptions' => 'Applications\Options\ModuleOptions' |
| 65 | 65 | ), |
| 66 | 66 | 'factories' => array( |
| 67 | - 'Applications/Options' => 'Applications\Factory\ModuleOptionsFactory', |
|
| 68 | - 'ApplicationRepository' => 'Applications\Repository\Service\ApplicationRepositoryFactory', |
|
| 69 | - 'ApplicationMapper' => 'Applications\Repository\Service\ApplicationMapperFactory', |
|
| 70 | - 'EducationMapper' => 'Applications\Repository\Service\EducationMapperFactory', |
|
| 71 | - 'Applications/Listener/ApplicationCreated' => 'Applications\Factory\Listener\EventApplicationCreatedFactory', |
|
| 72 | - 'Applications/Listener/ApplicationStatusChangePre' => 'Applications\Factory\Listener\StatusChangeFactory' |
|
| 67 | + 'Applications/Options' => 'Applications\Factory\ModuleOptionsFactory', |
|
| 68 | + 'ApplicationRepository' => 'Applications\Repository\Service\ApplicationRepositoryFactory', |
|
| 69 | + 'ApplicationMapper' => 'Applications\Repository\Service\ApplicationMapperFactory', |
|
| 70 | + 'EducationMapper' => 'Applications\Repository\Service\EducationMapperFactory', |
|
| 71 | + 'Applications/Listener/ApplicationCreated' => 'Applications\Factory\Listener\EventApplicationCreatedFactory', |
|
| 72 | + 'Applications/Listener/ApplicationStatusChangePre' => 'Applications\Factory\Listener\StatusChangeFactory' |
|
| 73 | 73 | ), |
| 74 | 74 | 'aliases' => [ |
| 75 | - 'Applications/Listener/ApplicationStatusChangePost' => 'Applications/Listener/ApplicationStatusChangePre' |
|
| 75 | + 'Applications/Listener/ApplicationStatusChangePost' => 'Applications/Listener/ApplicationStatusChangePre' |
|
| 76 | 76 | ] |
| 77 | 77 | ), |
| 78 | 78 | 'controllers' => array( |
@@ -170,25 +170,25 @@ discard block |
||
| 170 | 170 | ), |
| 171 | 171 | 'form_elements' => array( |
| 172 | 172 | 'invokables' => array( |
| 173 | - 'Applications/Mail' => 'Applications\Form\Mail', |
|
| 174 | - 'Applications/BaseFieldset' => 'Applications\Form\BaseFieldset', |
|
| 175 | - 'Applications/SettingsFieldset' => 'Applications\Form\SettingsFieldset', |
|
| 176 | - 'Applications/CommentForm' => 'Applications\Form\CommentForm', |
|
| 177 | - 'Applications/CommentFieldset' => 'Applications\Form\CommentFieldset', |
|
| 178 | - 'Applications/Apply' => 'Applications\Form\Apply', |
|
| 179 | - 'Applications/Contact' => 'Applications\Form\ContactContainer', |
|
| 180 | - 'Applications/Base' => 'Applications\Form\Base', |
|
| 181 | - 'Applications/Facts' => 'Applications\Form\Facts', |
|
| 182 | - 'Applications/FactsFieldset' => 'Applications\Form\FactsFieldset', |
|
| 183 | - 'Applications/Attributes' => 'Applications\Form\Attributes', |
|
| 184 | - 'Applications/Filter' => 'Applications\Form\FilterApplication', |
|
| 185 | - 'href' => 'Applications\Form\Element\Ref', |
|
| 186 | - ), |
|
| 173 | + 'Applications/Mail' => 'Applications\Form\Mail', |
|
| 174 | + 'Applications/BaseFieldset' => 'Applications\Form\BaseFieldset', |
|
| 175 | + 'Applications/SettingsFieldset' => 'Applications\Form\SettingsFieldset', |
|
| 176 | + 'Applications/CommentForm' => 'Applications\Form\CommentForm', |
|
| 177 | + 'Applications/CommentFieldset' => 'Applications\Form\CommentFieldset', |
|
| 178 | + 'Applications/Apply' => 'Applications\Form\Apply', |
|
| 179 | + 'Applications/Contact' => 'Applications\Form\ContactContainer', |
|
| 180 | + 'Applications/Base' => 'Applications\Form\Base', |
|
| 181 | + 'Applications/Facts' => 'Applications\Form\Facts', |
|
| 182 | + 'Applications/FactsFieldset' => 'Applications\Form\FactsFieldset', |
|
| 183 | + 'Applications/Attributes' => 'Applications\Form\Attributes', |
|
| 184 | + 'Applications/Filter' => 'Applications\Form\FilterApplication', |
|
| 185 | + 'href' => 'Applications\Form\Element\Ref', |
|
| 186 | + ), |
|
| 187 | 187 | 'factories' => array( |
| 188 | 188 | 'Applications/ContactImage' => 'Applications\Factory\Form\ContactImageFactory', |
| 189 | 189 | 'Applications/Attachments' => 'Applications\Factory\Form\AttachmentsFactory', |
| 190 | 190 | ), |
| 191 | - ), |
|
| 191 | + ), |
|
| 192 | 192 | |
| 193 | 193 | 'form_elements_config' => array( |
| 194 | 194 | 'Applications/Apply' => array( |