@@ -45,7 +45,7 @@ |
||
45 | 45 | ), |
46 | 46 | 'attributes' => array( |
47 | 47 | 'value' => Status::CREATED, |
48 | - 'data-searchbox' => -1, // hide the search box |
|
48 | + 'data-searchbox' => -1, // hide the search box |
|
49 | 49 | 'data-allowclear' => 'false', // allow to clear a selected value |
50 | 50 | ) |
51 | 51 | ) |
@@ -55,7 +55,7 @@ |
||
55 | 55 | ), |
56 | 56 | 'attributes' => [ |
57 | 57 | 'value' => '10', // default distance |
58 | - 'data-searchbox' => -1, // hide the search box |
|
58 | + 'data-searchbox' => -1, // hide the search box |
|
59 | 59 | 'data-allowclear' => 'false', // allow to clear a selected value |
60 | 60 | 'data-placeholder' => /*@translate*/ 'Distance', |
61 | 61 | ] |
@@ -121,7 +121,7 @@ |
||
121 | 121 | 'attributes' => [ |
122 | 122 | 'data-placeholder' => /*@translate*/ 'please select', |
123 | 123 | 'data-allowclear' => 'false', |
124 | - 'data-searchbox' => -1, // hide the search box |
|
124 | + 'data-searchbox' => -1, // hide the search box |
|
125 | 125 | 'required' => true, // mark label as required |
126 | 126 | ], |
127 | 127 | ) |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | */ |
82 | 82 | public function setLabelQualifications($labelQualifications) |
83 | 83 | { |
84 | - $this->labelQualifications=$labelQualifications; |
|
84 | + $this->labelQualifications = $labelQualifications; |
|
85 | 85 | return $this; |
86 | 86 | } |
87 | 87 | |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | */ |
105 | 105 | public function setLabelBenefits($labelBenefits) |
106 | 106 | { |
107 | - $this->labelBenefits=$labelBenefits; |
|
107 | + $this->labelBenefits = $labelBenefits; |
|
108 | 108 | return $this; |
109 | 109 | } |
110 | 110 |
@@ -19,5 +19,5 @@ |
||
19 | 19 | { |
20 | 20 | protected $theme = 'light'; |
21 | 21 | |
22 | - protected $languagePath="/js/tinymce-lang/"; |
|
22 | + protected $languagePath = "/js/tinymce-lang/"; |
|
23 | 23 | } |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | /** |
22 | 22 | * A new job was created. |
23 | 23 | */ |
24 | - const CREATED = /*@translate*/ 'created'; |
|
24 | + const CREATED = /*@translate*/ 'created'; |
|
25 | 25 | |
26 | 26 | /** |
27 | 27 | * A new job is waiting for approval |
@@ -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 |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | * |
57 | 57 | * @var string |
58 | 58 | */ |
59 | - protected $options="Applications/Options"; |
|
59 | + protected $options = "Applications/Options"; |
|
60 | 60 | |
61 | 61 | |
62 | 62 | /** |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | ->setIsDescriptionsEnabled(true) |
78 | 78 | ->setDescription( |
79 | 79 | /*@translate*/ 'Attach images or PDF Documents to your application. Drag&drop them, or click into the attachement area. You can upload up to %sMB', |
80 | - [round($size/(1024*1024))>0? round($size/(1024*1024)):round($size/(1024*1024), 1)] |
|
80 | + [round($size / (1024 * 1024)) > 0 ? round($size / (1024 * 1024)) : round($size / (1024 * 1024), 1)] |
|
81 | 81 | ) |
82 | 82 | ->setParam('return', 'file-uri') |
83 | 83 | ->setLabel(/*@translate*/ 'Attachments'); |
@@ -23,35 +23,35 @@ discard block |
||
23 | 23 | /** |
24 | 24 | * Job has been published |
25 | 25 | */ |
26 | - const RESPONSE_OK = 'ok'; |
|
26 | + const RESPONSE_OK = 'ok'; |
|
27 | 27 | |
28 | 28 | /** |
29 | 29 | * Job has been published and has stopped all other publishing |
30 | 30 | */ |
31 | - const RESPONSE_OKANDSTOP = 'ok and publishing terminated afterwards'; |
|
31 | + const RESPONSE_OKANDSTOP = 'ok and publishing terminated afterwards'; |
|
32 | 32 | |
33 | 33 | /** |
34 | 34 | * publishing has been stopped |
35 | 35 | */ |
36 | - const RESPONSE_STOP = 'publishing terminated'; |
|
36 | + const RESPONSE_STOP = 'publishing terminated'; |
|
37 | 37 | |
38 | 38 | /** |
39 | 39 | * publishing has been denied, |
40 | 40 | * this is very likely when a job was not intended to be sended to a portal |
41 | 41 | */ |
42 | - const RESPONSE_DENIED = 'denied'; |
|
42 | + const RESPONSE_DENIED = 'denied'; |
|
43 | 43 | |
44 | 44 | /** |
45 | 45 | * a connection to the portal could not be established |
46 | 46 | * or the publishing of the Job has been rejected for other reasons |
47 | 47 | */ |
48 | - const RESPONSE_FAIL = 'fail'; |
|
48 | + const RESPONSE_FAIL = 'fail'; |
|
49 | 49 | |
50 | 50 | /** |
51 | 51 | * This error has nothing to do with wrong inputs, |
52 | 52 | * something just has happend in the programm |
53 | 53 | */ |
54 | - const RESPONSE_ERROR = 'internal Error'; |
|
54 | + const RESPONSE_ERROR = 'internal Error'; |
|
55 | 55 | |
56 | 56 | /** |
57 | 57 | * nothing happens, but that's not a failure |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | /** |
63 | 63 | * nothing happens, and get used to it |
64 | 64 | */ |
65 | - const RESPONSE_DEPRECATED = 'deprecated'; |
|
65 | + const RESPONSE_DEPRECATED = 'deprecated'; |
|
66 | 66 | |
67 | 67 | /** |
68 | 68 | * @var string |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | * @param string $portal |
84 | 84 | * @param string $status |
85 | 85 | */ |
86 | - public function __construct($portal = '', $status = self::RESPONSE_NOTIMPLEMENTED, $message='') |
|
86 | + public function __construct($portal = '', $status = self::RESPONSE_NOTIMPLEMENTED, $message = '') |
|
87 | 87 | { |
88 | 88 | $this->portal = $portal; |
89 | 89 | $this->status = $status; |
@@ -42,7 +42,7 @@ |
||
42 | 42 | { |
43 | 43 | $object = parent::hydrate($data, $object); |
44 | 44 | /* @var \Organizations\Entity\Template $template */ |
45 | - $template=$object->getOrganization()->getTemplate(); |
|
45 | + $template = $object->getOrganization()->getTemplate(); |
|
46 | 46 | if (isset($data['description-label-requirements'])) { |
47 | 47 | $template->setLabelRequirements($data['description-label-requirements']); |
48 | 48 | } |