@@ -56,8 +56,8 @@ discard block |
||
56 | 56 | if (!defined($constant)) { |
57 | 57 | throw new \DomainException('Unknown status: ' . $status); |
58 | 58 | } |
59 | - $this->name=constant($constant); |
|
60 | - $this->order=$this->getOrder(); |
|
59 | + $this->name = constant($constant); |
|
60 | + $this->order = $this->getOrder(); |
|
61 | 61 | } |
62 | 62 | |
63 | 63 | /** |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | */ |
67 | 67 | public function getName() |
68 | 68 | { |
69 | - return isset($this->name)?$this->name:''; |
|
69 | + return isset($this->name) ? $this->name : ''; |
|
70 | 70 | } |
71 | 71 | |
72 | 72 | /** |
@@ -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; |
@@ -36,12 +36,12 @@ discard block |
||
36 | 36 | /** |
37 | 37 | * A Job is accepted an is going to be published |
38 | 38 | */ |
39 | - const PUBLISH = /*@translate*/ 'publish'; |
|
39 | + const PUBLISH = /*@translate*/ 'publish'; |
|
40 | 40 | |
41 | 41 | /** |
42 | 42 | * A Job is online |
43 | 43 | */ |
44 | - const ACTIVE = /*@translate*/ 'active'; |
|
44 | + const ACTIVE = /*@translate*/ 'active'; |
|
45 | 45 | |
46 | 46 | /** |
47 | 47 | * A job was is set inactive |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | /** |
52 | 52 | * A job was expired |
53 | 53 | */ |
54 | - const EXPIRED = /*@translate*/ 'expired'; |
|
54 | + const EXPIRED = /*@translate*/ 'expired'; |
|
55 | 55 | |
56 | 56 | public function __construct($status = self::CREATED); |
57 | 57 |
@@ -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 | namespace Jobs\Factory\Form\Hydrator; |
11 | 11 |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @license MIT |
|
7 | - * @copyright 2013 - 2015 Cross Solution <http://cross-solution.de> |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @license MIT |
|
7 | + * @copyright 2013 - 2015 Cross Solution <http://cross-solution.de> |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** */ |
11 | 11 | namespace Jobs\Factory\Form; |
@@ -34,8 +34,8 @@ discard block |
||
34 | 34 | $router = $services->get('Router'); |
35 | 35 | $select = new MultipostingSelect(); |
36 | 36 | $helpers = $services->get('ViewHelperManager'); |
37 | - // $headScript = $helpers->get('headScript'); |
|
38 | - /// $basePath = $helpers->get('basePath'); |
|
37 | + // $headScript = $helpers->get('headScript'); |
|
38 | + /// $basePath = $helpers->get('basePath'); |
|
39 | 39 | $currencyFormat = $helpers->get('currencyFormat'); |
40 | 40 | |
41 | 41 | $channels = $services->get('Jobs/Options/Provider'); |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | |
56 | 56 | $link = $router->assemble($channel->getParams(), array('name' => $channel->getRoute())); |
57 | 57 | $groups[$category]['options'][$channel->getKey()] = |
58 | - $channel->getLabel() . '|' |
|
58 | + $channel->getLabel() . '|' |
|
59 | 59 | . $channel->getHeadLine() . '|' |
60 | 60 | . $channel->getDescription() . '|' |
61 | 61 | . $channel->getLinkText() . '|' |
@@ -36,7 +36,7 @@ |
||
36 | 36 | $helpers = $services->get('ViewHelperManager'); |
37 | 37 | // $headScript = $helpers->get('headScript'); |
38 | 38 | /// $basePath = $helpers->get('basePath'); |
39 | - $currencyFormat = $helpers->get('currencyFormat'); |
|
39 | + $currencyFormat = $helpers->get('currencyFormat'); |
|
40 | 40 | |
41 | 41 | $channels = $services->get('Jobs/Options/Provider'); |
42 | 42 |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | - * @author cbleek |
|
8 | - * @license AGPLv3 |
|
9 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | + * @author cbleek |
|
8 | + * @license AGPLv3 |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Jobs\Factory; |
12 | 12 |
@@ -32,7 +32,7 @@ |
||
32 | 32 | |
33 | 33 | $jobs_options = isset($config['jobs_options']) ? $config['jobs_options'] : array(); |
34 | 34 | |
35 | - if (!array_key_exists('multipostingApprovalMail', $jobs_options) || '' == trim($jobs_options['multipostingApprovalMail'])) { |
|
35 | + if (!array_key_exists('multipostingApprovalMail', $jobs_options) || '' == trim($jobs_options['multipostingApprovalMail'])) { |
|
36 | 36 | $coreOptions = $serviceLocator->get('Core/Options'); |
37 | 37 | $jobs_options['multipostingApprovalMail'] = $coreOptions->getSystemMessageEmail(); |
38 | 38 | } |
@@ -24,7 +24,7 @@ |
||
24 | 24 | $core = $serviceLocator->get("Core/Options"); |
25 | 25 | |
26 | 26 | if ('' == $channel->getCurrency()) { |
27 | - $currency=$core->getDefaultCurrencyCode(); |
|
27 | + $currency = $core->getDefaultCurrencyCode(); |
|
28 | 28 | $channel->setCurrency($currency); |
29 | 29 | } |
30 | 30 |
@@ -1,12 +1,12 @@ |
||
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 | - * @author [email protected] |
|
9 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + * @author [email protected] |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Organizations\Form; |
12 | 12 |
@@ -1,12 +1,12 @@ 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 | - * @author [email protected] |
|
9 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + * @author [email protected] |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Jobs\Form\Hydrator; |
12 | 12 | |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | |
39 | 39 | /** @var Entity\Job $object */ |
40 | 40 | if ($object->getOrganization()) { |
41 | - // $data['company'] = $object->getOrganization()->getOrganizationName()->getName(); |
|
41 | + // $data['company'] = $object->getOrganization()->getOrganizationName()->getName(); |
|
42 | 42 | $data['companyId'] = $object->getOrganization()->getId(); |
43 | 43 | } |
44 | 44 |
@@ -1,12 +1,12 @@ 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 | - * @author [email protected] |
|
9 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + * @author [email protected] |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Jobs\Form\Hydrator; |
12 | 12 | |
@@ -39,12 +39,12 @@ discard block |
||
39 | 39 | $viewLink = $controllerPluginManager->get('url')->fromRoute( |
40 | 40 | 'lang/jobs/view', |
41 | 41 | array( |
42 | - ), |
|
42 | + ), |
|
43 | 43 | array( |
44 | - 'query' => array( |
|
45 | - 'id' => $data['id'], |
|
46 | - ) |
|
47 | - ) |
|
44 | + 'query' => array( |
|
45 | + 'id' => $data['id'], |
|
46 | + ) |
|
47 | + ) |
|
48 | 48 | ); |
49 | 49 | |
50 | 50 | $data['previewLink'] = $viewLink; |
@@ -47,7 +47,7 @@ |
||
47 | 47 | ) |
48 | 48 | ); |
49 | 49 | |
50 | - $data['previewLink'] = $viewLink; |
|
50 | + $data['previewLink'] = $viewLink; |
|
51 | 51 | return $data; |
52 | 52 | } |
53 | 53 |
@@ -86,12 +86,12 @@ |
||
86 | 86 | // 'allow_empty' => True |
87 | 87 | // ), |
88 | 88 | |
89 | - 'logoRef' => array( |
|
89 | + 'logoRef' => array( |
|
90 | 90 | 'filters' => array( |
91 | 91 | array('name' => 'Zend\Filter\StringTrim'), |
92 | 92 | ), |
93 | 93 | 'allow_empty' => true |
94 | - ), |
|
94 | + ), |
|
95 | 95 | |
96 | 96 | |
97 | 97 | ); |