@@ -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 | /** Core view helper */ |
11 | 11 | namespace Core\View\Helper; |
@@ -52,7 +52,6 @@ discard block |
||
52 | 52 | * @method warning() |
53 | 53 | * @method success() |
54 | 54 | * @method danger() |
55 | - |
|
56 | 55 | * |
57 | 56 | *@author Mathias Gelhausen <[email protected]> |
58 | 57 | */ |
@@ -149,7 +148,7 @@ discard block |
||
149 | 148 | ) { |
150 | 149 | $class .= ' alert-dismissable'; |
151 | 150 | $content = '<button type="button" class="close" data-dismiss="alert">×</button>' |
152 | - . '<span class="notification-content">' . $content . '</span>'; |
|
151 | + . '<span class="notification-content">' . $content . '</span>'; |
|
153 | 152 | } |
154 | 153 | |
155 | 154 | $target = array_key_exists('target', $options)?' target="' . $options['target'] . '"':''; |
@@ -60,7 +60,7 @@ |
||
60 | 60 | foreach ($this->fileNames as $obj) { |
61 | 61 | if (is_string($obj)) { |
62 | 62 | if (array_key_exists($obj, $this->fileObjects)) { |
63 | - $erg[] = $this->fileObjects[$obj]; |
|
63 | + $erg[] = $this->fileObjects[$obj]; |
|
64 | 64 | } |
65 | 65 | } else { |
66 | 66 | $erg[] = $obj; |
@@ -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 | namespace Core\View\Helper\Service; |
11 | 11 | |
@@ -58,8 +58,8 @@ discard block |
||
58 | 58 | } |
59 | 59 | |
60 | 60 | if (is_string($specs)) { |
61 | - $helper->appendScript('// if you are missing the script ' . $specs . ' look up your config and enclose it in an array'); |
|
62 | - continue; |
|
61 | + $helper->appendScript('// if you are missing the script ' . $specs . ' look up your config and enclose it in an array'); |
|
62 | + continue; |
|
63 | 63 | } |
64 | 64 | |
65 | 65 | foreach ($specs as $spec) { |
@@ -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( |