@@ -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 Install\Controller\Plugin; |
@@ -93,8 +93,8 @@ discard block |
||
93 | 93 | // Create a file with the class/file map. |
94 | 94 | // Stupid syntax highlighters make separating < from PHP declaration necessary |
95 | 95 | $content = '<' . "?php\n" |
96 | - . "\n" |
|
97 | - . 'return ' . var_export($config, true) . ';'; |
|
96 | + . "\n" |
|
97 | + . 'return ' . var_export($config, true) . ';'; |
|
98 | 98 | |
99 | 99 | // Fix \' strings from injected DIRECTORY_SEPARATOR usage in iterator_apply op |
100 | 100 | $content = str_replace("\\'", "'", $content); |
@@ -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 Install\Form; |
@@ -27,53 +27,53 @@ discard block |
||
27 | 27 | $this->setName('installation'); |
28 | 28 | $this->setAttributes( |
29 | 29 | array( |
30 | - 'method' => 'post', |
|
31 | - 'action' => '?p=install' |
|
32 | - ) |
|
30 | + 'method' => 'post', |
|
31 | + 'action' => '?p=install' |
|
32 | + ) |
|
33 | 33 | ); |
34 | 34 | |
35 | 35 | $this->add( |
36 | 36 | array( |
37 | - 'type' => 'Text', |
|
38 | - 'name' => 'db_conn', |
|
39 | - 'options' => array( |
|
40 | - 'label' => /* @translate */ 'Database connection string', |
|
41 | - ), |
|
42 | - 'attributes' => array( |
|
43 | - 'placeholder' => 'mongodb://localhost:27017/YAWIK', |
|
44 | - ), |
|
37 | + 'type' => 'Text', |
|
38 | + 'name' => 'db_conn', |
|
39 | + 'options' => array( |
|
40 | + 'label' => /* @translate */ 'Database connection string', |
|
41 | + ), |
|
42 | + 'attributes' => array( |
|
43 | + 'placeholder' => 'mongodb://localhost:27017/YAWIK', |
|
44 | + ), |
|
45 | 45 | |
46 | - ) |
|
46 | + ) |
|
47 | 47 | ); |
48 | 48 | |
49 | 49 | $this->add( |
50 | 50 | array( |
51 | - 'type' => 'Text', |
|
52 | - 'name' => 'username', |
|
53 | - 'options' => array( |
|
54 | - 'label' => /* @translate */ 'Initial user name', |
|
55 | - ), |
|
56 | - ) |
|
51 | + 'type' => 'Text', |
|
52 | + 'name' => 'username', |
|
53 | + 'options' => array( |
|
54 | + 'label' => /* @translate */ 'Initial user name', |
|
55 | + ), |
|
56 | + ) |
|
57 | 57 | ); |
58 | 58 | |
59 | 59 | $this->add( |
60 | 60 | array( |
61 | - 'type' => 'Password', |
|
62 | - 'name' => 'password', |
|
63 | - 'options' => array( |
|
64 | - 'label' => /* @translate */ 'Password', |
|
65 | - ), |
|
66 | - ) |
|
61 | + 'type' => 'Password', |
|
62 | + 'name' => 'password', |
|
63 | + 'options' => array( |
|
64 | + 'label' => /* @translate */ 'Password', |
|
65 | + ), |
|
66 | + ) |
|
67 | 67 | ); |
68 | 68 | |
69 | 69 | $this->add( |
70 | 70 | array( |
71 | - 'type' => 'Text', |
|
72 | - 'name' => 'email', |
|
73 | - 'options' => array( |
|
74 | - 'label' => /* @translate */ 'Email address for system messages', |
|
75 | - ), |
|
76 | - ) |
|
71 | + 'type' => 'Text', |
|
72 | + 'name' => 'email', |
|
73 | + 'options' => array( |
|
74 | + 'label' => /* @translate */ 'Email address for system messages', |
|
75 | + ), |
|
76 | + ) |
|
77 | 77 | ); |
78 | 78 | } |
79 | 79 | |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | ), |
89 | 89 | 'validators' => array( |
90 | 90 | array('name' => 'Install/ConnectionString', |
91 | - 'break_chain_on_failure' => true), |
|
91 | + 'break_chain_on_failure' => true), |
|
92 | 92 | array('name' => 'Install/Connection'), |
93 | 93 | ), |
94 | 94 | ), |
@@ -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,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * Auth Module Bootstrap |
|
5 | - * |
|
6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * Auth Module Bootstrap |
|
5 | + * |
|
6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | namespace Jobs; |
11 | 11 |
@@ -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( |
@@ -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 | /** ActionController of Jobs */ |
11 | 11 | namespace Jobs\Controller; |
@@ -158,8 +158,8 @@ discard block |
||
158 | 158 | /* @var $repository \Jobs\Repository\Job */ |
159 | 159 | $query = $this->params()->fromQuery('q', '*'); |
160 | 160 | $repository = $this->getServiceLocator() |
161 | - ->get('repositories') |
|
162 | - ->get('Jobs/Job'); |
|
161 | + ->get('repositories') |
|
162 | + ->get('Jobs/Job'); |
|
163 | 163 | |
164 | 164 | $return = array(); |
165 | 165 | foreach ($repository->getTypeaheadResults($query, $this->auth('id')) as $id => $item) { |
@@ -409,8 +409,8 @@ discard block |
||
409 | 409 | if (empty($reference)) { |
410 | 410 | // create an unique job-reference |
411 | 411 | $repository = $this->getServiceLocator() |
412 | - ->get('repositories') |
|
413 | - ->get('Jobs/Job'); |
|
412 | + ->get('repositories') |
|
413 | + ->get('Jobs/Job'); |
|
414 | 414 | $jobEntity->setReference($repository->getUniqueReference()); |
415 | 415 | } |
416 | 416 | $jobEntity->changeStatus(Status::CREATED, "job was created"); |
@@ -457,9 +457,9 @@ discard block |
||
457 | 457 | // we want just some Values to be compared |
458 | 458 | $diff = null; |
459 | 459 | foreach (array('title', 'organization', 'location', |
460 | - 'templateValues.qualifications', 'templateValues.requirements', 'templateValues.benefits', 'templateValues.title', |
|
461 | - 'templateValues._freeValues.description', |
|
462 | - ) as $prelKey) { |
|
460 | + 'templateValues.qualifications', 'templateValues.requirements', 'templateValues.benefits', 'templateValues.title', |
|
461 | + 'templateValues._freeValues.description', |
|
462 | + ) as $prelKey) { |
|
463 | 463 | if (array_key_exists($prelKey, $prelDiff)) { |
464 | 464 | $diff[$prelKey] = $prelDiff[$prelKey]; |
465 | 465 | } |
@@ -486,28 +486,28 @@ discard block |
||
486 | 486 | 'lang/jobs/view', |
487 | 487 | array(), |
488 | 488 | array('query' => |
489 | - array( 'id' => $jobEntity->id)) |
|
489 | + array( 'id' => $jobEntity->id)) |
|
490 | 490 | ); |
491 | 491 | |
492 | 492 | $approvalLink = $this->url()->fromRoute( |
493 | 493 | 'lang/jobs/approval', |
494 | 494 | array('state' => 'approved'), |
495 | 495 | array('query' => |
496 | - array( 'id' => $jobEntity->id)) |
|
496 | + array( 'id' => $jobEntity->id)) |
|
497 | 497 | ); |
498 | 498 | |
499 | 499 | $declineLink = $this->url()->fromRoute( |
500 | 500 | 'lang/jobs/approval', |
501 | 501 | array('state' => 'declined'), |
502 | 502 | array('query' => |
503 | - array( 'id' => $jobEntity->id)) |
|
503 | + array( 'id' => $jobEntity->id)) |
|
504 | 504 | ); |
505 | 505 | |
506 | 506 | return array('job' => $jobEntity, |
507 | - 'diffSnapshot' => $diff, |
|
508 | - 'viewLink' => $viewLink, |
|
509 | - 'approvalLink' => $approvalLink, |
|
510 | - 'declineLink' => $declineLink); |
|
507 | + 'diffSnapshot' => $diff, |
|
508 | + 'viewLink' => $viewLink, |
|
509 | + 'approvalLink' => $approvalLink, |
|
510 | + 'declineLink' => $declineLink); |
|
511 | 511 | } |
512 | 512 | |
513 | 513 | /** |
@@ -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 [email protected] |
|
8 | - * @license MIT |
|
9 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | + * @author [email protected] |
|
8 | + * @license MIT |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Jobs\Controller; |
12 | 12 |
@@ -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 | - * @license MIT |
|
8 | - * @author [email protected] |
|
9 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + * @author [email protected] |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Jobs\Entity\Hydrator; |
12 | 12 |