@@ -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'); |
@@ -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 | /** PaginationQueryFactory.php */ |
11 | 11 | namespace Cv\Repository\Filter; |
@@ -14,7 +14,7 @@ discard block |
||
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( |
@@ -16,7 +16,7 @@ |
||
16 | 16 | * for multiple paths. |
17 | 17 | * example https://github.com/doctrine/DoctrineORMModule |
18 | 18 | */ |
19 | - 'paths' => array( __DIR__ . '/../src/Geo/Entity'), |
|
19 | + 'paths' => array(__DIR__ . '/../src/Geo/Entity'), |
|
20 | 20 | ), |
21 | 21 | ), |
22 | 22 | 'eventmanager' => array( |
@@ -27,7 +27,7 @@ |
||
27 | 27 | { |
28 | 28 | $query = $this->params()->fromQuery(); |
29 | 29 | |
30 | - $geoApi = $this->getPluginManager()->get('geo/'.$this->params('plugin')); |
|
30 | + $geoApi = $this->getPluginManager()->get('geo/' . $this->params('plugin')); |
|
31 | 31 | $result = array(); |
32 | 32 | if (!empty($query['q'])) { |
33 | 33 | $result = $geoApi($query['q']); |
@@ -1,11 +1,11 @@ |
||
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 | /** SettingsEntityResolverFactory.php */ |
11 | 11 | namespace Settings\Repository; |