@@ -211,14 +211,14 @@ |
||
| 211 | 211 | { |
| 212 | 212 | return $this->repository; |
| 213 | 213 | } |
| 214 | - /** |
|
| 215 | - * @param SocialProfilePlugin |
|
| 216 | - * @return HybridAuth |
|
| 217 | - */ |
|
| 218 | - public function setSocialProfilePlugin(SocialProfilePlugin $socialProfilePlugin) |
|
| 219 | - { |
|
| 220 | - $this->socialProfilePlugin = $socialProfilePlugin; |
|
| 214 | + /** |
|
| 215 | + * @param SocialProfilePlugin |
|
| 216 | + * @return HybridAuth |
|
| 217 | + */ |
|
| 218 | + public function setSocialProfilePlugin(SocialProfilePlugin $socialProfilePlugin) |
|
| 219 | + { |
|
| 220 | + $this->socialProfilePlugin = $socialProfilePlugin; |
|
| 221 | 221 | |
| 222 | - return $this; |
|
| 223 | - } |
|
| 222 | + return $this; |
|
| 223 | + } |
|
| 224 | 224 | } |
@@ -61,14 +61,14 @@ |
||
| 61 | 61 | return $this->useDefaultValidation ? \Zend\Form\Form::isValid() : parent::isValid(); |
| 62 | 62 | } |
| 63 | 63 | |
| 64 | - /** |
|
| 65 | - * @param bool $bool |
|
| 66 | - * @return SocialProfiles |
|
| 67 | - */ |
|
| 68 | - public function setUseDefaultValidation($bool) |
|
| 69 | - { |
|
| 70 | - $this->useDefaultValidation = (bool)$bool; |
|
| 64 | + /** |
|
| 65 | + * @param bool $bool |
|
| 66 | + * @return SocialProfiles |
|
| 67 | + */ |
|
| 68 | + public function setUseDefaultValidation($bool) |
|
| 69 | + { |
|
| 70 | + $this->useDefaultValidation = (bool)$bool; |
|
| 71 | 71 | |
| 72 | - return $this; |
|
| 73 | - } |
|
| 72 | + return $this; |
|
| 73 | + } |
|
| 74 | 74 | } |
@@ -278,7 +278,7 @@ |
||
| 278 | 278 | /* @var \Core\Listener\DeferredListenerAggregate $aggregate */ |
| 279 | 279 | $aggregate = $services->get('Core/Listener/DeferredListenerAggregate'); |
| 280 | 280 | $aggregate->setListeners($lazyListeners) |
| 281 | - ->attach($eventManager); |
|
| 281 | + ->attach($eventManager); |
|
| 282 | 282 | } |
| 283 | 283 | } |
| 284 | 284 | |
@@ -40,13 +40,13 @@ discard block |
||
| 40 | 40 | public function init() |
| 41 | 41 | { |
| 42 | 42 | $this->setName('emails') |
| 43 | - ->setLabel(/* @translate */ 'E-Mail Notifications'); |
|
| 43 | + ->setLabel(/* @translate */ 'E-Mail Notifications'); |
|
| 44 | 44 | |
| 45 | 45 | $this->add( |
| 46 | 46 | array('type' => 'Zend\Form\Element\Checkbox', |
| 47 | 47 | 'name' => 'mailAccess', |
| 48 | 48 | 'options' => array('label' => /* @translate */ 'receive E-Mail alert', |
| 49 | - 'long_label' => /* @translate */ 'if checked, you\'ll be informed by mail about new applications.'), |
|
| 49 | + 'long_label' => /* @translate */ 'if checked, you\'ll be informed by mail about new applications.'), |
|
| 50 | 50 | ) |
| 51 | 51 | ); |
| 52 | 52 | $this->add( |
@@ -60,13 +60,13 @@ discard block |
||
| 60 | 60 | array('type' => 'Zend\Form\Element\Checkbox', |
| 61 | 61 | 'name' => 'autoConfirmMail', |
| 62 | 62 | 'options' => array('label' => /* @translate */ 'confirm application immidiatly after submit', |
| 63 | - 'long_label' => /* @translate */ 'if checked, an application is immediatly confirmed. If unchecked confirmation is the duty of the recruiter.'), |
|
| 63 | + 'long_label' => /* @translate */ 'if checked, an application is immediatly confirmed. If unchecked confirmation is the duty of the recruiter.'), |
|
| 64 | 64 | ) |
| 65 | 65 | ); |
| 66 | 66 | $this->add( |
| 67 | 67 | array('type' => 'Zend\Form\Element\Textarea', |
| 68 | 68 | 'name' => 'mailConfirmationText', |
| 69 | - 'options' => array('label' => /* @translate */ 'Confirmation mail text', |
|
| 69 | + 'options' => array('label' => /* @translate */ 'Confirmation mail text', |
|
| 70 | 70 | 'description' => /* @translate */ 'default text of the acknowledgment of receipt mail to the applicant. The following variables can be used:<br><ul><li>##anrede_formell## = salutation. Includes gender, firstname and lastname.<li>##anrede_informell## = salutation. Includes fistname and lastname.</li><li>##job_title## = title of the jobs</li><li>##name## = name of the applicant.</li><li>##date## = date of recipt of the application.</li></ul>' )) |
| 71 | 71 | ); |
| 72 | 72 | |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | $params->set('by', 'me'); |
| 41 | 41 | } |
| 42 | 42 | |
| 43 | - //default sorting |
|
| 43 | + //default sorting |
|
| 44 | 44 | if (!isset($params['sort'])) { |
| 45 | 45 | $params['sort']="-date"; |
| 46 | 46 | } |
@@ -239,7 +239,7 @@ discard block |
||
| 239 | 239 | ->getHybridAuth(); |
| 240 | 240 | /* @var $authProfile \Hybrid_User_Profile */ |
| 241 | 241 | $authProfile = $hybridAuth->authenticate($network) |
| 242 | - ->getUserProfile(); |
|
| 242 | + ->getUserProfile(); |
|
| 243 | 243 | |
| 244 | 244 | /* @var \Auth\Entity\SocialProfiles\AbstractProfile $profile */ |
| 245 | 245 | $profile = $this->plugin('Auth/SocialProfiles')->fetch($network); |
@@ -292,7 +292,7 @@ discard block |
||
| 292 | 292 | } |
| 293 | 293 | |
| 294 | 294 | return $this->redirect() |
| 295 | - ->toRoute('lang/apply', ['applyId' => $job->getApplyId()], $urlOptions); |
|
| 295 | + ->toRoute('lang/apply', ['applyId' => $job->getApplyId()], $urlOptions); |
|
| 296 | 296 | } |
| 297 | 297 | |
| 298 | 298 | public function processPreviewAction() |
@@ -101,7 +101,7 @@ |
||
| 101 | 101 | return; |
| 102 | 102 | } |
| 103 | 103 | |
| 104 | - /** |
|
| 104 | + /** |
|
| 105 | 105 | * @return mixed |
| 106 | 106 | */ |
| 107 | 107 | public function getServerUrlHelper() |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | 'sendImmediately' => false |
| 72 | 72 | ], $options); |
| 73 | 73 | $view = $this->view; |
| 74 | - $currentTemplate = $view->viewModel() |
|
| 74 | + $currentTemplate = $view->viewModel() |
|
| 75 | 75 | ->getCurrent() |
| 76 | 76 | ->getTemplate(); |
| 77 | 77 | $partial = dirname($currentTemplate) . '/' . $options['partial']; |
@@ -87,10 +87,10 @@ discard block |
||
| 87 | 87 | $label = $options['oneClickLabel'] ?: $view->translate('Apply with %s'); |
| 88 | 88 | |
| 89 | 89 | foreach ($data['oneClickProfiles'] as $network) { |
| 90 | - $variables['oneClick'][] = [ |
|
| 90 | + $variables['oneClick'][] = [ |
|
| 91 | 91 | 'label' => sprintf($label, $network), |
| 92 | 92 | 'url' => $view->url('lang/apply-one-click', ['applyId' => $data['applyId'], 'network' => $network, 'immediately' => $options['sendImmediately'] ?: null], ['force_canonical' => true]), |
| 93 | - 'network' => $network |
|
| 93 | + 'network' => $network |
|
| 94 | 94 | ]; |
| 95 | 95 | } |
| 96 | 96 | } |
@@ -98,22 +98,22 @@ discard block |
||
| 98 | 98 | return $view->partial($partial, $variables); |
| 99 | 99 | } |
| 100 | 100 | |
| 101 | - /** |
|
| 102 | - * @return string |
|
| 103 | - */ |
|
| 104 | - public function getPartial() |
|
| 105 | - { |
|
| 106 | - return $this->partial; |
|
| 107 | - } |
|
| 101 | + /** |
|
| 102 | + * @return string |
|
| 103 | + */ |
|
| 104 | + public function getPartial() |
|
| 105 | + { |
|
| 106 | + return $this->partial; |
|
| 107 | + } |
|
| 108 | 108 | |
| 109 | - /** |
|
| 110 | - * @param string $partial |
|
| 111 | - * @return ApplyButtons |
|
| 112 | - */ |
|
| 113 | - public function setPartial($partial) |
|
| 114 | - { |
|
| 115 | - $this->partial = $partial; |
|
| 109 | + /** |
|
| 110 | + * @param string $partial |
|
| 111 | + * @return ApplyButtons |
|
| 112 | + */ |
|
| 113 | + public function setPartial($partial) |
|
| 114 | + { |
|
| 115 | + $this->partial = $partial; |
|
| 116 | 116 | |
| 117 | - return $this; |
|
| 118 | - } |
|
| 117 | + return $this; |
|
| 118 | + } |
|
| 119 | 119 | } |
@@ -208,13 +208,13 @@ discard block |
||
| 208 | 208 | return $this->email; |
| 209 | 209 | } |
| 210 | 210 | |
| 211 | - /** |
|
| 212 | - * @return bool |
|
| 213 | - */ |
|
| 214 | - public function getOneClickApply() |
|
| 215 | - { |
|
| 216 | - return $this->oneClickApply; |
|
| 217 | - } |
|
| 211 | + /** |
|
| 212 | + * @return bool |
|
| 213 | + */ |
|
| 214 | + public function getOneClickApply() |
|
| 215 | + { |
|
| 216 | + return $this->oneClickApply; |
|
| 217 | + } |
|
| 218 | 218 | |
| 219 | 219 | |
| 220 | 220 | /** |
@@ -222,29 +222,29 @@ discard block |
||
| 222 | 222 | * |
| 223 | 223 | * @return $this |
| 224 | 224 | */ |
| 225 | - public function setOneClickApply($oneClickApply) |
|
| 226 | - { |
|
| 227 | - $this->oneClickApply = (bool)$oneClickApply; |
|
| 225 | + public function setOneClickApply($oneClickApply) |
|
| 226 | + { |
|
| 227 | + $this->oneClickApply = (bool)$oneClickApply; |
|
| 228 | 228 | |
| 229 | - return $this; |
|
| 230 | - } |
|
| 231 | - |
|
| 232 | - /** |
|
| 233 | - * @return array |
|
| 234 | - */ |
|
| 235 | - public function getOneClickApplyProfiles() |
|
| 236 | - { |
|
| 237 | - return $this->oneClickApplyProfiles; |
|
| 238 | - } |
|
| 239 | - |
|
| 240 | - /** |
|
| 241 | - * @param array $oneClickApplyProfiles |
|
| 242 | - * @return AtsMode |
|
| 243 | - */ |
|
| 244 | - public function setOneClickApplyProfiles(array $oneClickApplyProfiles) |
|
| 245 | - { |
|
| 246 | - $this->oneClickApplyProfiles = $oneClickApplyProfiles; |
|
| 229 | + return $this; |
|
| 230 | + } |
|
| 231 | + |
|
| 232 | + /** |
|
| 233 | + * @return array |
|
| 234 | + */ |
|
| 235 | + public function getOneClickApplyProfiles() |
|
| 236 | + { |
|
| 237 | + return $this->oneClickApplyProfiles; |
|
| 238 | + } |
|
| 239 | + |
|
| 240 | + /** |
|
| 241 | + * @param array $oneClickApplyProfiles |
|
| 242 | + * @return AtsMode |
|
| 243 | + */ |
|
| 244 | + public function setOneClickApplyProfiles(array $oneClickApplyProfiles) |
|
| 245 | + { |
|
| 246 | + $this->oneClickApplyProfiles = $oneClickApplyProfiles; |
|
| 247 | 247 | |
| 248 | - return $this; |
|
| 249 | - } |
|
| 248 | + return $this; |
|
| 249 | + } |
|
| 250 | 250 | } |