@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** PaginationQuery.php */ |
11 | 11 | namespace Cv\Repository\Filter; |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | { |
21 | 21 | parent::createQuery($params, $queryBuilder); |
22 | 22 | $queryBuilder |
23 | - ->hydrate(false); |
|
23 | + ->hydrate(false); |
|
24 | 24 | |
25 | 25 | |
26 | 26 |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | namespace Geo\Controller\Plugin; |
11 | 11 | |
@@ -51,16 +51,16 @@ discard block |
||
51 | 51 | $r=[]; |
52 | 52 | foreach ($result as $key => $val) { |
53 | 53 | $row=['name' => (property_exists($val->properties, 'name') ? $val->properties->name:''), |
54 | - 'postcode' => (property_exists($val->properties, 'postcode') ? $val->properties->postcode:''), |
|
55 | - 'city' =>(property_exists($val->properties, 'city') ? $val->properties->city:''), |
|
56 | - 'street' => (property_exists($val->properties, 'street') ? $val->properties->street : ''), |
|
57 | - 'state' => (property_exists($val->properties, 'state') ? $val->properties->state : ''), |
|
58 | - 'country' => (property_exists($val->properties, 'country') ? $val->properties->country : ''), |
|
59 | - 'coordinates' => implode(":", $val->geometry->coordinates), |
|
60 | - 'osm_key' => (property_exists($val->properties, 'osm_key') ? $val->properties->osm_key : ''), |
|
61 | - 'osm_value' => (property_exists($val->properties, 'osm_value') ? $val->properties->osm_value : ''), |
|
62 | - 'osm_id' => (property_exists($val->properties, 'osm_id') ? $val->properties->osm_id : ''), |
|
63 | - 'data' => json_encode($val), |
|
54 | + 'postcode' => (property_exists($val->properties, 'postcode') ? $val->properties->postcode:''), |
|
55 | + 'city' =>(property_exists($val->properties, 'city') ? $val->properties->city:''), |
|
56 | + 'street' => (property_exists($val->properties, 'street') ? $val->properties->street : ''), |
|
57 | + 'state' => (property_exists($val->properties, 'state') ? $val->properties->state : ''), |
|
58 | + 'country' => (property_exists($val->properties, 'country') ? $val->properties->country : ''), |
|
59 | + 'coordinates' => implode(":", $val->geometry->coordinates), |
|
60 | + 'osm_key' => (property_exists($val->properties, 'osm_key') ? $val->properties->osm_key : ''), |
|
61 | + 'osm_value' => (property_exists($val->properties, 'osm_value') ? $val->properties->osm_value : ''), |
|
62 | + 'osm_id' => (property_exists($val->properties, 'osm_id') ? $val->properties->osm_id : ''), |
|
63 | + 'data' => json_encode($val), |
|
64 | 64 | ]; |
65 | 65 | $r[]=$row; |
66 | 66 | } |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @license MIT |
|
7 | - * @copyright 2013 - 2016 Cross Solution <http://cross-solution.de> |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @license MIT |
|
7 | + * @copyright 2013 - 2016 Cross Solution <http://cross-solution.de> |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** */ |
11 | 11 | namespace JobsTest\Form; |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** GetText.php */ |
11 | 11 | namespace Geo\Form; |
@@ -95,12 +95,12 @@ discard block |
||
95 | 95 | $id = str_replace(array('[', ']'), array('-', ''), $name); |
96 | 96 | $this->setAttribute('id', $id); |
97 | 97 | $this->nameElement->setName($name . '[name]') |
98 | - ->setAttribute('id', $id . '-name') |
|
99 | - ->setAttribute('class', 'form-control geolocation'); |
|
98 | + ->setAttribute('id', $id . '-name') |
|
99 | + ->setAttribute('class', 'form-control geolocation'); |
|
100 | 100 | $this->dataElement->setName($name . '[data]') |
101 | - ->setAttribute('id', $id . '-data'); |
|
101 | + ->setAttribute('id', $id . '-data'); |
|
102 | 102 | $this->typeElement->setName($name . '[type]') |
103 | - ->setAttribute('id', $id . '-type'); |
|
103 | + ->setAttribute('id', $id . '-type'); |
|
104 | 104 | } |
105 | 105 | |
106 | 106 | /** |
@@ -145,8 +145,8 @@ discard block |
||
145 | 145 | if ('geo' == $value['type']) { |
146 | 146 | $lonLat = $this->getConverter()->toCoordinates($value['name']); |
147 | 147 | foreach($lonLat as $k=>$v) { |
148 | - list($lon,$lat) = explode(',', $v, 2); |
|
149 | - $latLon[]=$lat.','.$lon; |
|
148 | + list($lon,$lat) = explode(',', $v, 2); |
|
149 | + $latLon[]=$lat.','.$lon; |
|
150 | 150 | } |
151 | 151 | |
152 | 152 | $value['data'] = [ |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @license MIT |
|
7 | - * @copyright 2013 - 2016 Cross Solution <http://cross-solution.de> |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @license MIT |
|
7 | + * @copyright 2013 - 2016 Cross Solution <http://cross-solution.de> |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** */ |
11 | 11 | namespace Geo\Form\GeoText; |
@@ -36,11 +36,11 @@ discard block |
||
36 | 36 | } |
37 | 37 | $entity = new Location(); |
38 | 38 | $entity->setCity($data['city']) |
39 | - ->setRegion($data['region']) |
|
40 | - ->setPostalcode($data['postalcode']) |
|
41 | - ->setCountry($data['country']); |
|
39 | + ->setRegion($data['region']) |
|
40 | + ->setPostalcode($data['postalcode']) |
|
41 | + ->setCountry($data['country']); |
|
42 | 42 | if (!empty($data['coordinates'])) { |
43 | - $entity->setCoordinates(new Point($data['coordinates'])); |
|
43 | + $entity->setCoordinates(new Point($data['coordinates'])); |
|
44 | 44 | } |
45 | 45 | |
46 | 46 | return $entity; |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @license MIT |
|
7 | - * @copyright 2013 - 2016 Cross Solution <http://cross-solution.de> |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @license MIT |
|
7 | + * @copyright 2013 - 2016 Cross Solution <http://cross-solution.de> |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** */ |
11 | 11 | namespace JobsTest\Form; |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @license MIT |
|
7 | - * @copyright 2013 - 2016 Cross Solution <http://cross-solution.de> |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @license MIT |
|
7 | + * @copyright 2013 - 2016 Cross Solution <http://cross-solution.de> |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** */ |
11 | 11 | namespace Install; |
@@ -60,6 +60,6 @@ discard block |
||
60 | 60 | $services = $application->getServiceManager(); |
61 | 61 | |
62 | 62 | $services->get('Install/Listener/LanguageSetter') |
63 | - ->attach($eventManager); |
|
63 | + ->attach($eventManager); |
|
64 | 64 | } |
65 | 65 | } |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @copyright 2013 - 2016 Cross Solution <http://cross-solution.de> |
|
6 | - * @author Mathias Gelhausen <[email protected]> |
|
7 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @copyright 2013 - 2016 Cross Solution <http://cross-solution.de> |
|
6 | + * @author Mathias Gelhausen <[email protected]> |
|
7 | + */ |
|
8 | 8 | $env = getenv('APPLICATION_ENV') ?: 'production'; |
9 | 9 | |
10 | 10 | return 'production' == $env |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @license MIT |
|
7 | - * @copyright 2013 - 2016 Cross Solution <http://cross-solution.de> |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @license MIT |
|
7 | + * @copyright 2013 - 2016 Cross Solution <http://cross-solution.de> |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | return array( |
11 | 11 |