@@ -66,7 +66,7 @@ |
||
| 66 | 66 | 'role' => 'admin', |
| 67 | 67 | 'login' => $username, |
| 68 | 68 | 'credential' => $credential, |
| 69 | - 'info' => [ 'email' => $email ] |
|
| 69 | + 'info' => ['email' => $email] |
|
| 70 | 70 | ); |
| 71 | 71 | |
| 72 | 72 | $result = $collection->insert($document); |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | */ |
| 22 | 22 | class MongoDbConnectionString extends AbstractValidator |
| 23 | 23 | { |
| 24 | - const INVALID = 'invalidConnectionString'; |
|
| 24 | + const INVALID = 'invalidConnectionString'; |
|
| 25 | 25 | |
| 26 | 26 | /** |
| 27 | 27 | * Options |
@@ -1,15 +1,15 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | // Generated by ZF2's ./bin/classmap_generator.php |
| 3 | 3 | return array( |
| 4 | - 'Install\Filter\DbNameExtractor' => __DIR__ . '/Filter/DbNameExtractor.php', |
|
| 5 | - 'Install\Form\Installation' => __DIR__ . '/Form/Installation.php', |
|
| 6 | - 'Install\Controller\Index' => __DIR__ . '/Controller/Index.php', |
|
| 7 | - 'Install\Controller\Plugin\Prerequisites' => __DIR__ . '/Controller/Plugin/Prerequisites.php', |
|
| 8 | - 'Install\Controller\Plugin\YawikConfigCreator' => __DIR__ . '/Controller/Plugin/YawikConfigCreator.php', |
|
| 9 | - 'Install\Controller\Plugin\UserCreator' => __DIR__ . '/Controller/Plugin/UserCreator.php', |
|
| 10 | - 'Install\Listener\LanguageSetter' => __DIR__ . '/Listener/LanguageSetter.php', |
|
| 11 | - 'Install\Validator\MongoDbConnection' => __DIR__ . '/Validator/MongoDbConnection.php', |
|
| 12 | - 'Install\Validator\MongoDbConnectionString' => __DIR__ . '/Validator/MongoDbConnectionString.php', |
|
| 13 | - 'Install\Factory\Controller\Plugin\UserCreatorFactory' => __DIR__ . '/Factory/Controller/Plugin/UserCreatorFactory.php', |
|
| 14 | - 'Install\Factory\Controller\Plugin\YawikConfigCreatorFactory' => __DIR__ . '/Factory/Controller/Plugin/YawikConfigCreatorFactory.php', |
|
| 4 | + 'Install\Filter\DbNameExtractor' => __DIR__ . '/Filter/DbNameExtractor.php', |
|
| 5 | + 'Install\Form\Installation' => __DIR__ . '/Form/Installation.php', |
|
| 6 | + 'Install\Controller\Index' => __DIR__ . '/Controller/Index.php', |
|
| 7 | + 'Install\Controller\Plugin\Prerequisites' => __DIR__ . '/Controller/Plugin/Prerequisites.php', |
|
| 8 | + 'Install\Controller\Plugin\YawikConfigCreator' => __DIR__ . '/Controller/Plugin/YawikConfigCreator.php', |
|
| 9 | + 'Install\Controller\Plugin\UserCreator' => __DIR__ . '/Controller/Plugin/UserCreator.php', |
|
| 10 | + 'Install\Listener\LanguageSetter' => __DIR__ . '/Listener/LanguageSetter.php', |
|
| 11 | + 'Install\Validator\MongoDbConnection' => __DIR__ . '/Validator/MongoDbConnection.php', |
|
| 12 | + 'Install\Validator\MongoDbConnectionString' => __DIR__ . '/Validator/MongoDbConnectionString.php', |
|
| 13 | + 'Install\Factory\Controller\Plugin\UserCreatorFactory' => __DIR__ . '/Factory/Controller/Plugin/UserCreatorFactory.php', |
|
| 14 | + 'Install\Factory\Controller\Plugin\YawikConfigCreatorFactory' => __DIR__ . '/Factory/Controller/Plugin/YawikConfigCreatorFactory.php', |
|
| 15 | 15 | ); |
@@ -1,15 +1,15 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | // Generated by ZF2's ./bin/classmap_generator.php |
| 3 | 3 | return array( |
| 4 | - 'Install\Filter\DbNameExtractor' => __DIR__ . '/Filter/DbNameExtractor.php', |
|
| 5 | - 'Install\Form\Installation' => __DIR__ . '/Form/Installation.php', |
|
| 6 | - 'Install\Controller\Index' => __DIR__ . '/Controller/Index.php', |
|
| 7 | - 'Install\Controller\Plugin\Prerequisites' => __DIR__ . '/Controller/Plugin/Prerequisites.php', |
|
| 8 | - 'Install\Controller\Plugin\YawikConfigCreator' => __DIR__ . '/Controller/Plugin/YawikConfigCreator.php', |
|
| 9 | - 'Install\Controller\Plugin\UserCreator' => __DIR__ . '/Controller/Plugin/UserCreator.php', |
|
| 10 | - 'Install\Listener\LanguageSetter' => __DIR__ . '/Listener/LanguageSetter.php', |
|
| 11 | - 'Install\Validator\MongoDbConnection' => __DIR__ . '/Validator/MongoDbConnection.php', |
|
| 12 | - 'Install\Validator\MongoDbConnectionString' => __DIR__ . '/Validator/MongoDbConnectionString.php', |
|
| 13 | - 'Install\Factory\Controller\Plugin\UserCreatorFactory' => __DIR__ . '/Factory/Controller/Plugin/UserCreatorFactory.php', |
|
| 14 | - 'Install\Factory\Controller\Plugin\YawikConfigCreatorFactory' => __DIR__ . '/Factory/Controller/Plugin/YawikConfigCreatorFactory.php', |
|
| 4 | + 'Install\Filter\DbNameExtractor' => __DIR__.'/Filter/DbNameExtractor.php', |
|
| 5 | + 'Install\Form\Installation' => __DIR__.'/Form/Installation.php', |
|
| 6 | + 'Install\Controller\Index' => __DIR__.'/Controller/Index.php', |
|
| 7 | + 'Install\Controller\Plugin\Prerequisites' => __DIR__.'/Controller/Plugin/Prerequisites.php', |
|
| 8 | + 'Install\Controller\Plugin\YawikConfigCreator' => __DIR__.'/Controller/Plugin/YawikConfigCreator.php', |
|
| 9 | + 'Install\Controller\Plugin\UserCreator' => __DIR__.'/Controller/Plugin/UserCreator.php', |
|
| 10 | + 'Install\Listener\LanguageSetter' => __DIR__.'/Listener/LanguageSetter.php', |
|
| 11 | + 'Install\Validator\MongoDbConnection' => __DIR__.'/Validator/MongoDbConnection.php', |
|
| 12 | + 'Install\Validator\MongoDbConnectionString' => __DIR__.'/Validator/MongoDbConnectionString.php', |
|
| 13 | + 'Install\Factory\Controller\Plugin\UserCreatorFactory' => __DIR__.'/Factory/Controller/Plugin/UserCreatorFactory.php', |
|
| 14 | + 'Install\Factory\Controller\Plugin\YawikConfigCreatorFactory' => __DIR__.'/Factory/Controller/Plugin/YawikConfigCreatorFactory.php', |
|
| 15 | 15 | ); |
@@ -26,8 +26,8 @@ |
||
| 26 | 26 | { |
| 27 | 27 | |
| 28 | 28 | protected $identifiers = array( |
| 29 | - 'Jobs/Acl/Assertions', |
|
| 30 | - 'Jobs/Acl/Assertion/Create', |
|
| 29 | + 'Jobs/Acl/Assertions', |
|
| 30 | + 'Jobs/Acl/Assertion/Create', |
|
| 31 | 31 | ); |
| 32 | 32 | |
| 33 | 33 | protected function preAssert( |
@@ -96,7 +96,7 @@ |
||
| 96 | 96 | } |
| 97 | 97 | |
| 98 | 98 | if (!isset($params['sort'])) { |
| 99 | - $params['sort']='-date'; |
|
| 99 | + $params['sort'] = '-date'; |
|
| 100 | 100 | } |
| 101 | 101 | |
| 102 | 102 | $this->searchForm->setAttribute('action', $url); |
@@ -198,7 +198,7 @@ |
||
| 198 | 198 | * |
| 199 | 199 | * @return UserInterface $user |
| 200 | 200 | */ |
| 201 | - public function getUser() ; |
|
| 201 | + public function getUser(); |
|
| 202 | 202 | |
| 203 | 203 | /** |
| 204 | 204 | * Gets the link to the application form |
@@ -36,6 +36,7 @@ discard block |
||
| 36 | 36 | * Gets the unique key used by applications to reference a job posting |
| 37 | 37 | * |
| 38 | 38 | * @param string $applyId |
| 39 | + * @return Job |
|
| 39 | 40 | */ |
| 40 | 41 | public function setApplyId($applyId); |
| 41 | 42 | |
@@ -91,6 +92,7 @@ discard block |
||
| 91 | 92 | * Sets an URI for a job posting |
| 92 | 93 | * |
| 93 | 94 | * @param string $link |
| 95 | + * @return Job |
|
| 94 | 96 | */ |
| 95 | 97 | public function setLink($link); |
| 96 | 98 | |
@@ -121,6 +123,7 @@ discard block |
||
| 121 | 123 | * Sets the title of a job posting |
| 122 | 124 | * |
| 123 | 125 | * @param string $title |
| 126 | + * @return Job |
|
| 124 | 127 | */ |
| 125 | 128 | public function setTitle($title); |
| 126 | 129 | |
@@ -222,6 +225,7 @@ discard block |
||
| 222 | 225 | * Sets the language of a job posting |
| 223 | 226 | * |
| 224 | 227 | * @param string $language |
| 228 | + * @return Job |
|
| 225 | 229 | */ |
| 226 | 230 | public function setLanguage($language); |
| 227 | 231 | |
@@ -237,6 +241,7 @@ discard block |
||
| 237 | 241 | * Sets the location of a job posting |
| 238 | 242 | * |
| 239 | 243 | * @param string $location |
| 244 | + * @return Job |
|
| 240 | 245 | */ |
| 241 | 246 | public function setLocation($location); |
| 242 | 247 | |
@@ -251,6 +256,7 @@ discard block |
||
| 251 | 256 | * Sets locations of a job posting |
| 252 | 257 | * |
| 253 | 258 | * @param string $locations |
| 259 | + * @return Job |
|
| 254 | 260 | */ |
| 255 | 261 | public function setLocations($locations); |
| 256 | 262 | |
@@ -265,6 +271,7 @@ discard block |
||
| 265 | 271 | * Sets applications for a job posting |
| 266 | 272 | * |
| 267 | 273 | * @param Collection $applications |
| 274 | + * @return Job |
|
| 268 | 275 | */ |
| 269 | 276 | public function setApplications(Collection $applications); |
| 270 | 277 | |
@@ -279,6 +286,7 @@ discard block |
||
| 279 | 286 | * Sets Status of a job posting |
| 280 | 287 | * |
| 281 | 288 | * @param string $status |
| 289 | + * @return void |
|
| 282 | 290 | */ |
| 283 | 291 | public function setStatus($status); |
| 284 | 292 | |
@@ -324,6 +332,7 @@ discard block |
||
| 324 | 332 | * organisation offering the job. |
| 325 | 333 | * |
| 326 | 334 | * @param string $reference |
| 335 | + * @return Job |
|
| 327 | 336 | */ |
| 328 | 337 | public function setReference($reference); |
| 329 | 338 | |
@@ -339,6 +348,7 @@ discard block |
||
| 339 | 348 | * Sets the list of channels where a job opening should be published |
| 340 | 349 | * |
| 341 | 350 | * @param Array $portals |
| 351 | + * @return Job |
|
| 342 | 352 | */ |
| 343 | 353 | public function setPortals(array $portals); |
| 344 | 354 | |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | |
| 33 | 33 | $jobs_options = isset($config['jobs_options']) ? $config['jobs_options'] : array(); |
| 34 | 34 | |
| 35 | - if (!array_key_exists('multipostingApprovalMail', $jobs_options) || '' == trim($jobs_options['multipostingApprovalMail'])) { |
|
| 35 | + if (!array_key_exists('multipostingApprovalMail', $jobs_options) || '' == trim($jobs_options['multipostingApprovalMail'])) { |
|
| 36 | 36 | $coreOptions = $serviceLocator->get('Core/Options'); |
| 37 | 37 | $jobs_options['multipostingApprovalMail'] = $coreOptions->getSystemMessageEmail(); |
| 38 | 38 | } |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | $core = $serviceLocator->get("Core/Options"); |
| 25 | 25 | |
| 26 | 26 | if ('' == $channel->getCurrency()) { |
| 27 | - $currency=$core->getDefaultCurrencyCode(); |
|
| 27 | + $currency = $core->getDefaultCurrencyCode(); |
|
| 28 | 28 | $channel->setCurrency($currency); |
| 29 | 29 | } |
| 30 | 30 | |
@@ -47,7 +47,7 @@ |
||
| 47 | 47 | ) |
| 48 | 48 | ); |
| 49 | 49 | |
| 50 | - $data['previewLink'] = $viewLink; |
|
| 50 | + $data['previewLink'] = $viewLink; |
|
| 51 | 51 | return $data; |
| 52 | 52 | } |
| 53 | 53 | |
@@ -39,12 +39,12 @@ |
||
| 39 | 39 | $viewLink = $controllerPluginManager->get('url')->fromRoute( |
| 40 | 40 | 'lang/jobs/view', |
| 41 | 41 | array( |
| 42 | - ), |
|
| 42 | + ), |
|
| 43 | 43 | array( |
| 44 | - 'query' => array( |
|
| 45 | - 'id' => $data['id'], |
|
| 46 | - ) |
|
| 47 | - ) |
|
| 44 | + 'query' => array( |
|
| 45 | + 'id' => $data['id'], |
|
| 46 | + ) |
|
| 47 | + ) |
|
| 48 | 48 | ); |
| 49 | 49 | |
| 50 | 50 | $data['previewLink'] = $viewLink; |