@@ -15,8 +15,8 @@ |
||
15 | 15 | $hydrator = new EntityHydrator(); |
16 | 16 | $collectionStrategy = new CollectionStrategy(); |
17 | 17 | $hydrator->addStrategy('educations', $collectionStrategy) |
18 | - ->addStrategy('employments', $collectionStrategy) |
|
19 | - ->addStrategy('skills', $collectionStrategy); |
|
18 | + ->addStrategy('employments', $collectionStrategy) |
|
19 | + ->addStrategy('skills', $collectionStrategy); |
|
20 | 20 | |
21 | 21 | $this->setHydrator($hydrator); |
22 | 22 | } |
@@ -16,10 +16,10 @@ |
||
16 | 16 | { |
17 | 17 | $collection = new Collection('educations'); |
18 | 18 | $collection->setLabel('Education history') |
19 | - ->setCount(0) |
|
20 | - ->setShouldCreateTemplate(true) |
|
21 | - ->setAllowAdd(true) |
|
22 | - ->setTargetElement($serviceLocator->get('EducationFieldset')); |
|
19 | + ->setCount(0) |
|
20 | + ->setShouldCreateTemplate(true) |
|
21 | + ->setAllowAdd(true) |
|
22 | + ->setTargetElement($serviceLocator->get('EducationFieldset')); |
|
23 | 23 | return $collection; |
24 | 24 | } |
25 | 25 | } |
@@ -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( |
@@ -11,9 +11,9 @@ |
||
11 | 11 | public function init() |
12 | 12 | { |
13 | 13 | $this->setName('language') |
14 | - ->setHydrator(new EntityHydrator()) |
|
15 | - ->setObject(new LanguageEntity()) |
|
16 | - ->setLabel('Language'); |
|
14 | + ->setHydrator(new EntityHydrator()) |
|
15 | + ->setObject(new LanguageEntity()) |
|
16 | + ->setLabel('Language'); |
|
17 | 17 | |
18 | 18 | $this->add( |
19 | 19 | array( |
@@ -11,9 +11,9 @@ |
||
11 | 11 | public function init() |
12 | 12 | { |
13 | 13 | $this->setName('skill') |
14 | - ->setHydrator(new EntityHydrator()) |
|
15 | - ->setObject(new SkillEntity()) |
|
16 | - ->setLabel('Language'); |
|
14 | + ->setHydrator(new EntityHydrator()) |
|
15 | + ->setObject(new SkillEntity()) |
|
16 | + ->setLabel('Language'); |
|
17 | 17 | |
18 | 18 | $this->add( |
19 | 19 | array( |
@@ -14,7 +14,7 @@ |
||
14 | 14 | |
15 | 15 | class JsonPaginationQueryFactory implements FactoryInterface |
16 | 16 | { |
17 | - public function createService (\Zend\ServiceManager\ServiceLocatorInterface $serviceLocator) |
|
17 | + public function createService (\Zend\ServiceManager\ServiceLocatorInterface $serviceLocator) |
|
18 | 18 | { |
19 | 19 | $services = $serviceLocator->getServiceLocator(); |
20 | 20 | $auth = $services->get('AuthenticationService'); |
@@ -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 |