@@ -123,10 +123,10 @@ |
||
123 | 123 | * @param $options |
124 | 124 | */ |
125 | 125 | public function setOptions($options){ |
126 | - foreach($options as $key=>$val) { |
|
126 | + foreach($options as $key=>$val) { |
|
127 | 127 | if (array_key_exists($this->options,$key)) { |
128 | 128 | $this->options[$key]=$val; |
129 | 129 | } |
130 | - } |
|
130 | + } |
|
131 | 131 | } |
132 | 132 | } |
@@ -102,10 +102,10 @@ |
||
102 | 102 | } |
103 | 103 | }else{ |
104 | 104 | $result = sprintf('<a href="%s" rel="%s" %s>%s</a>', |
105 | - $url, |
|
106 | - $options['rel'], |
|
107 | - $options['target']?"target=" . $options['target']:"", |
|
108 | - strip_tags($jobEntity->getTitle())); |
|
105 | + $url, |
|
106 | + $options['rel'], |
|
107 | + $options['target']?"target=" . $options['target']:"", |
|
108 | + strip_tags($jobEntity->getTitle())); |
|
109 | 109 | } |
110 | 110 | |
111 | 111 | return $result; |
@@ -90,24 +90,24 @@ |
||
90 | 90 | $tabId = $containerId . '-' . strtolower($tabElement->getName()); |
91 | 91 | $tabsNav .= '<li><a data-toggle="tab" href="#' . $tabId . '">' . $translate($tabElement->getLabel()) . '</a></li>'; |
92 | 92 | $tabsContent .= '<div class="tab-pane" id="' . $tabId . '">' |
93 | - . $formContainer($tabElement, $layout, $parameter) |
|
94 | - . '</div>'; |
|
93 | + . $formContainer($tabElement, $layout, $parameter) |
|
94 | + . '</div>'; |
|
95 | 95 | } |
96 | 96 | |
97 | 97 | $content .= '<style type="text/css">.tab-content > div > div:first-child { margin-top: 10px; }</style><div class="wizard-container" id="' . $containerId . '">' |
98 | - . '<ul>' . $tabsNav . '</ul>' |
|
99 | - . '<div class="tab-content">' . $tabsContent . '</div>'; |
|
98 | + . '<ul>' . $tabsNav . '</ul>' |
|
99 | + . '<div class="tab-content">' . $tabsContent . '</div>'; |
|
100 | 100 | if ($containerParams['pager']) { |
101 | 101 | $content .='<ul class="pager wizard">' |
102 | - . '<li class="previous"><a href="javascript:;">← ' . $translate('previous') . '</a></li>' |
|
103 | - . '<li class="next"><a href="javascript:;">' . $translate('Next') . ' →</a></li>' |
|
104 | - . '<li class="finish' . ($containerParams['finish_enabled'] ? '' : ' disabled') . '">' |
|
105 | - . (false !== $containerParams['finish_label'] |
|
102 | + . '<li class="previous"><a href="javascript:;">← ' . $translate('previous') . '</a></li>' |
|
103 | + . '<li class="next"><a href="javascript:;">' . $translate('Next') . ' →</a></li>' |
|
104 | + . '<li class="finish' . ($containerParams['finish_enabled'] ? '' : ' disabled') . '">' |
|
105 | + . (false !== $containerParams['finish_label'] |
|
106 | 106 | ? '<a class="pull-right" href="' . $containerParams['finish_href'] . '">' |
107 | - . $translate($containerParams['finish_label']) . ' •</a>' |
|
107 | + . $translate($containerParams['finish_label']) . ' •</a>' |
|
108 | 108 | : '' |
109 | 109 | ) |
110 | - . '</li></ul>'; |
|
110 | + . '</li></ul>'; |
|
111 | 111 | } |
112 | 112 | $content .= '</div>'; |
113 | 113 |
@@ -81,7 +81,7 @@ |
||
81 | 81 | |
82 | 82 | $adapter->setParams($params); |
83 | 83 | $paginator->setCurrentPageNumber($params->get('page', 1)) |
84 | - ->setItemCountPerPage($params->get('count', 10)); |
|
84 | + ->setItemCountPerPage($params->get('count', 10)); |
|
85 | 85 | |
86 | 86 | return $paginator; |
87 | 87 | } |
@@ -1,6 +1,5 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - |
|
4 | 3 | */ |
5 | 4 | |
6 | 5 | namespace Core\Form\View\Helper; |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | } |
67 | 67 | |
68 | 68 | $fieldset->setUseAsBaseFieldset(true) |
69 | - ->setName('base'); |
|
69 | + ->setName('base'); |
|
70 | 70 | |
71 | 71 | $fieldset->setObject($object); |
72 | 72 | $this->add($fieldset); |
@@ -92,8 +92,8 @@ discard block |
||
92 | 92 | { |
93 | 93 | parent::setName(strtolower($name) . '-settings'); |
94 | 94 | $urlHelper = $this->formManager->getServiceLocator() |
95 | - ->get('ViewHelperManager') |
|
96 | - ->get('url'); |
|
95 | + ->get('ViewHelperManager') |
|
96 | + ->get('url'); |
|
97 | 97 | |
98 | 98 | $url = $urlHelper('lang/settings', array('module' => $name), true); |
99 | 99 | $this->setAttribute('action', $url); |
@@ -182,9 +182,9 @@ discard block |
||
182 | 182 | $location = new Location(); |
183 | 183 | $coords = array_map(function ($i) { return (float) $i; }, $locData['coordinates']); |
184 | 184 | $location->setCountry($locData['country']) |
185 | - ->setRegion($locData['region']) |
|
186 | - ->setCity($locData['city']) |
|
187 | - ->setCoordinates(new Point($coords)); |
|
185 | + ->setRegion($locData['region']) |
|
186 | + ->setCity($locData['city']) |
|
187 | + ->setCoordinates(new Point($coords)); |
|
188 | 188 | |
189 | 189 | $jobLocations->add($location); |
190 | 190 | } |
@@ -215,7 +215,7 @@ discard block |
||
215 | 215 | /* @var $jobEvents \Zend\EventManager\EventManager */ |
216 | 216 | $jobEvents = $services->get('Jobs/Events'); |
217 | 217 | $jobEvent->setName(JobEvent::EVENT_JOB_ACCEPTED) |
218 | - ->setTarget($this); |
|
218 | + ->setTarget($this); |
|
219 | 219 | $responses = $jobEvents->trigger($jobEvent); |
220 | 220 | foreach ($responses as $response) { |
221 | 221 | // responses from the portals |
@@ -5,7 +5,7 @@ |
||
5 | 5 | * @filesource |
6 | 6 | * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
7 | 7 | * @license MIT |
8 | - */ |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | namespace Jobs\Factory\Form\Hydrator; |
11 | 11 |
@@ -107,23 +107,23 @@ |
||
107 | 107 | |
108 | 108 | |
109 | 109 | /** |
110 | - * Sets the name of the organization |
|
111 | - * |
|
112 | - * @param OrganizationName organizationName |
|
113 | - * @return OrganizationInterface |
|
114 | - */ |
|
110 | + * Sets the name of the organization |
|
111 | + * |
|
112 | + * @param OrganizationName organizationName |
|
113 | + * @return OrganizationInterface |
|
114 | + */ |
|
115 | 115 | public function setOrganizationName(OrganizationName $organizationNames); |
116 | 116 | |
117 | - /** |
|
118 | - * Gets the name of the organization |
|
119 | - * |
|
120 | - * @return OrganizationName |
|
121 | - */ |
|
117 | + /** |
|
118 | + * Gets the name of the organization |
|
119 | + * |
|
120 | + * @return OrganizationName |
|
121 | + */ |
|
122 | 122 | public function getOrganizationName(); |
123 | 123 | |
124 | - /** |
|
125 | - * @return string |
|
126 | - */ |
|
124 | + /** |
|
125 | + * @return string |
|
126 | + */ |
|
127 | 127 | public function getDescription(); |
128 | 128 | |
129 | 129 | /** |