@@ -13,9 +13,9 @@ |
||
13 | 13 | public function init() |
14 | 14 | { |
15 | 15 | $this->setName('education') |
16 | - ->setHydrator(new EntityHydrator()) |
|
17 | - ->setObject(new EducationEntity()) |
|
18 | - ->setLabel('Education'); |
|
16 | + ->setHydrator(new EntityHydrator()) |
|
17 | + ->setObject(new EducationEntity()) |
|
18 | + ->setLabel('Education'); |
|
19 | 19 | |
20 | 20 | $this->add( |
21 | 21 | array( |
@@ -11,9 +11,9 @@ |
||
11 | 11 | public function init() |
12 | 12 | { |
13 | 13 | $this->setName('employment') |
14 | - ->setHydrator(new EntityHydrator()) |
|
15 | - ->setObject(new EmploymentEntity()) |
|
16 | - ->setLabel('Employment'); |
|
14 | + ->setHydrator(new EntityHydrator()) |
|
15 | + ->setObject(new EmploymentEntity()) |
|
16 | + ->setLabel('Employment'); |
|
17 | 17 | |
18 | 18 | $this->add( |
19 | 19 | array( |
@@ -71,7 +71,7 @@ |
||
71 | 71 | 'form_elements' => array( |
72 | 72 | 'invokables' => array( |
73 | 73 | 'Location' => 'Geo\Form\GeoText', |
74 | - ), |
|
74 | + ), |
|
75 | 75 | ), |
76 | 76 | |
77 | 77 | 'view_manager' => array( |
@@ -42,8 +42,8 @@ discard block |
||
42 | 42 | $routeMatch->setParam('action', $p); |
43 | 43 | $response = $this->getResponse(); |
44 | 44 | $response->getHeaders() |
45 | - ->addHeaderLine('Content-Type', 'application/json') |
|
46 | - ->addHeaderLine('Content-Encoding', 'utf8'); |
|
45 | + ->addHeaderLine('Content-Type', 'application/json') |
|
46 | + ->addHeaderLine('Content-Encoding', 'utf8'); |
|
47 | 47 | } |
48 | 48 | } |
49 | 49 | |
@@ -60,9 +60,9 @@ discard block |
||
60 | 60 | |
61 | 61 | return $this->createViewModel( |
62 | 62 | array( |
63 | - 'prerequisites' => $prereqs, |
|
64 | - 'form' => $form, |
|
65 | - ) |
|
63 | + 'prerequisites' => $prereqs, |
|
64 | + 'form' => $form, |
|
65 | + ) |
|
66 | 66 | ); |
67 | 67 | } |
68 | 68 | |
@@ -94,9 +94,9 @@ discard block |
||
94 | 94 | if (!$form->isValid()) { |
95 | 95 | return $this->createJsonResponse( |
96 | 96 | array( |
97 | - 'ok' => false, |
|
98 | - 'errors' => $form->getMessages(), |
|
99 | - ) |
|
97 | + 'ok' => false, |
|
98 | + 'errors' => $form->getMessages(), |
|
99 | + ) |
|
100 | 100 | ); |
101 | 101 | } |
102 | 102 |
@@ -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( |
@@ -43,13 +43,13 @@ |
||
43 | 43 | |
44 | 44 | $this->add( |
45 | 45 | array( |
46 | - 'type' => 'Jobs\MultipostingSelect', |
|
47 | - 'property' => true, |
|
48 | - 'name' => 'portals', |
|
49 | - 'options' => array( |
|
50 | - 'label' => /*@translate*/ 'Portals', |
|
51 | - ), |
|
52 | - ) |
|
46 | + 'type' => 'Jobs\MultipostingSelect', |
|
47 | + 'property' => true, |
|
48 | + 'name' => 'portals', |
|
49 | + 'options' => array( |
|
50 | + 'label' => /*@translate*/ 'Portals', |
|
51 | + ), |
|
52 | + ) |
|
53 | 53 | ); |
54 | 54 | } |
55 | 55 |
@@ -27,10 +27,10 @@ discard block |
||
27 | 27 | { |
28 | 28 | $qb = $this->createQueryBuilder(); |
29 | 29 | $qb->hydrate(true) |
30 | - ->select('entity') |
|
31 | - ->field('sourceId')->equals($jobEntity->id) |
|
32 | - ->sort('dateCreated', 'desc') |
|
33 | - ->limit(1); |
|
30 | + ->select('entity') |
|
31 | + ->field('sourceId')->equals($jobEntity->id) |
|
32 | + ->sort('dateCreated', 'desc') |
|
33 | + ->limit(1); |
|
34 | 34 | |
35 | 35 | $result = $qb->getQuery()->execute(); |
36 | 36 | if ($result->count() == 0) { |
@@ -53,9 +53,9 @@ discard block |
||
53 | 53 | // So we need to create a cursor, that skips the first Document |
54 | 54 | $qb = $this->createQueryBuilder(); |
55 | 55 | $qb->hydrate(false) |
56 | - ->select('entity') |
|
57 | - ->field('sourceId')->equals($jobEntity->id) |
|
58 | - ->sort('dateCreated', 'desc'); |
|
56 | + ->select('entity') |
|
57 | + ->field('sourceId')->equals($jobEntity->id) |
|
58 | + ->sort('dateCreated', 'desc'); |
|
59 | 59 | $result = $qb->getQuery()->execute()->skip(1); |
60 | 60 | foreach ($result as $item) { |
61 | 61 | $id = $item['_id']; |
@@ -102,7 +102,7 @@ |
||
102 | 102 | $fieldset->setLabel(ucfirst($label)); |
103 | 103 | } |
104 | 104 | $fieldset->setName($name) |
105 | - ->setObject($child); |
|
105 | + ->setObject($child); |
|
106 | 106 | |
107 | 107 | |
108 | 108 | $this->add($fieldset); |