@@ -42,8 +42,8 @@ |
||
42 | 42 | { |
43 | 43 | $object = parent::hydrate($data, $object); |
44 | 44 | /* @var \Organizations\Entity\Template $template */ |
45 | - $template=$object->getOrganization()->getTemplate(); |
|
46 | - if (isset($data['description-label-requirements'])){ |
|
45 | + $template = $object->getOrganization()->getTemplate(); |
|
46 | + if (isset($data['description-label-requirements'])) { |
|
47 | 47 | $template->setLabelRequirements($data['description-label-requirements']); |
48 | 48 | } |
49 | 49 | if (isset($data['description-label-qualifications'])) { |
@@ -1,12 +1,12 @@ |
||
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 | - * @author [email protected] |
|
9 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + * @author [email protected] |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Organizations\Form; |
12 | 12 |
@@ -14,9 +14,9 @@ discard block |
||
14 | 14 | { |
15 | 15 | protected $theme = 'light'; |
16 | 16 | |
17 | - protected $language="de"; |
|
17 | + protected $language = "de"; |
|
18 | 18 | |
19 | - protected $languagePath="/js/tinymce-lang/"; |
|
19 | + protected $languagePath = "/js/tinymce-lang/"; |
|
20 | 20 | |
21 | 21 | protected function additionalOptions() { |
22 | 22 | return ' |
@@ -26,11 +26,11 @@ discard block |
||
26 | 26 | '.$this->additionalLanguageOptions(); |
27 | 27 | } |
28 | 28 | |
29 | - protected function additionalLanguageOptions(){ |
|
30 | - $options=''; |
|
31 | - if (in_array($this->language,['de','fr','it','es','hi','ar','ru','zh','tr'])) { |
|
32 | - $options='language: "'.$this->language.'",'. |
|
33 | - 'language_url: "'. $this->languagePath . $this->language.'.js",'; |
|
29 | + protected function additionalLanguageOptions() { |
|
30 | + $options = ''; |
|
31 | + if (in_array($this->language, ['de', 'fr', 'it', 'es', 'hi', 'ar', 'ru', 'zh', 'tr'])) { |
|
32 | + $options = 'language: "' . $this->language . '",' . |
|
33 | + 'language_url: "' . $this->languagePath . $this->language . '.js",'; |
|
34 | 34 | } |
35 | 35 | return $options; |
36 | 36 | } |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | * @param $language |
42 | 42 | */ |
43 | 43 | public function setLanguage($language) { |
44 | - $this->language=$language; |
|
44 | + $this->language = $language; |
|
45 | 45 | } |
46 | 46 | |
47 | 47 | /** |
@@ -50,6 +50,6 @@ discard block |
||
50 | 50 | * @param $languagePath |
51 | 51 | */ |
52 | 52 | public function setLanguagePath($languagePath) { |
53 | - $this->languagePath=$languagePath; |
|
53 | + $this->languagePath = $languagePath; |
|
54 | 54 | } |
55 | 55 | } |
@@ -1,12 +1,12 @@ 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 | - * @author [email protected] |
|
9 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + * @author [email protected] |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Core\Form\View\Helper; |
12 | 12 | |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | $options=''; |
31 | 31 | if (in_array($this->language,['de','fr','it','es','hi','ar','ru','zh','tr'])) { |
32 | 32 | $options='language: "'.$this->language.'",'. |
33 | - 'language_url: "'. $this->languagePath . $this->language.'.js",'; |
|
33 | + 'language_url: "'. $this->languagePath . $this->language.'.js",'; |
|
34 | 34 | } |
35 | 35 | return $options; |
36 | 36 | } |
@@ -44,11 +44,11 @@ discard block |
||
44 | 44 | $this->language=$language; |
45 | 45 | } |
46 | 46 | |
47 | - /** |
|
48 | - * Sets the language path for tinyMCE language files |
|
49 | - * |
|
50 | - * @param $languagePath |
|
51 | - */ |
|
47 | + /** |
|
48 | + * Sets the language path for tinyMCE language files |
|
49 | + * |
|
50 | + * @param $languagePath |
|
51 | + */ |
|
52 | 52 | public function setLanguagePath($languagePath) { |
53 | 53 | $this->languagePath=$languagePath; |
54 | 54 | } |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | * @var String |
36 | 36 | * @ODM\String |
37 | 37 | */ |
38 | - protected $qualifications=''; |
|
38 | + protected $qualifications = ''; |
|
39 | 39 | |
40 | 40 | /** |
41 | 41 | * Requirements field of the job template |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | * @var String |
44 | 44 | * @ODM\String |
45 | 45 | */ |
46 | - protected $requirements=''; |
|
46 | + protected $requirements = ''; |
|
47 | 47 | |
48 | 48 | /** |
49 | 49 | * Benefits field of the job template |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | * @var String |
52 | 52 | * @ODM\String |
53 | 53 | */ |
54 | - protected $benefits=''; |
|
54 | + protected $benefits = ''; |
|
55 | 55 | |
56 | 56 | /** |
57 | 57 | * Job title field of the job template |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | * @var String |
60 | 60 | * @ODM\String |
61 | 61 | */ |
62 | - protected $title=''; |
|
62 | + protected $title = ''; |
|
63 | 63 | |
64 | 64 | /** |
65 | 65 | * Company description field of the job template |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | * @var String |
68 | 68 | * @ODM\String |
69 | 69 | */ |
70 | - protected $description=''; |
|
70 | + protected $description = ''; |
|
71 | 71 | |
72 | 72 | /** |
73 | 73 | * language of the job template values. Must be a valid ISO 639-1 code |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | * @var String |
76 | 76 | * @ODM\String |
77 | 77 | */ |
78 | - protected $language='en'; |
|
78 | + protected $language = 'en'; |
|
79 | 79 | |
80 | 80 | /** |
81 | 81 | * free values (currently not in use) |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | */ |
93 | 93 | public function setQualifications($qualifications) |
94 | 94 | { |
95 | - $this->qualifications= (string) $qualifications; |
|
95 | + $this->qualifications = (string) $qualifications; |
|
96 | 96 | return $this; |
97 | 97 | } |
98 | 98 | |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | */ |
115 | 115 | public function setRequirements($requirements) |
116 | 116 | { |
117 | - $this->requirements=(string) $requirements; |
|
117 | + $this->requirements = (string) $requirements; |
|
118 | 118 | return $this; |
119 | 119 | } |
120 | 120 | |
@@ -136,7 +136,7 @@ discard block |
||
136 | 136 | */ |
137 | 137 | public function setBenefits($benefits) |
138 | 138 | { |
139 | - $this->benefits=(string) $benefits; |
|
139 | + $this->benefits = (string) $benefits; |
|
140 | 140 | return $this; |
141 | 141 | } |
142 | 142 | |
@@ -158,7 +158,7 @@ discard block |
||
158 | 158 | */ |
159 | 159 | public function setTitle($title) |
160 | 160 | { |
161 | - $this->title=(string) $title; |
|
161 | + $this->title = (string) $title; |
|
162 | 162 | return $this; |
163 | 163 | } |
164 | 164 | |
@@ -180,7 +180,7 @@ discard block |
||
180 | 180 | */ |
181 | 181 | public function setDescription($description) |
182 | 182 | { |
183 | - $this->description=(string) $description; |
|
183 | + $this->description = (string) $description; |
|
184 | 184 | return $this; |
185 | 185 | } |
186 | 186 | |
@@ -202,7 +202,7 @@ discard block |
||
202 | 202 | */ |
203 | 203 | public function setLanguage($language) |
204 | 204 | { |
205 | - $this->language=(string) $language; |
|
205 | + $this->language = (string) $language; |
|
206 | 206 | return $this; |
207 | 207 | } |
208 | 208 |
@@ -1,12 +1,12 @@ |
||
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 | - * @author [email protected] |
|
9 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + * @author [email protected] |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Organizations\Form; |
12 | 12 |
@@ -26,7 +26,7 @@ |
||
26 | 26 | /* @var $serviceLocator \Zend\View\HelperPluginManager */ |
27 | 27 | $options = $serviceLocator->getServiceLocator()->get('Auth/Options'); |
28 | 28 | $config = $serviceLocator->getServiceLocator()->get('Config'); |
29 | - $helper = new SocialButtons($options,$config); |
|
29 | + $helper = new SocialButtons($options, $config); |
|
30 | 30 | return $helper; |
31 | 31 | } |
32 | 32 | } |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @author cbleek |
|
8 | - * @license MIT |
|
9 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @author cbleek |
|
8 | + * @license MIT |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Jobs\Options; |
12 | 12 |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | * @param $options ModuleOptions |
29 | 29 | * @param $config array |
30 | 30 | */ |
31 | - public function __construct($options,$config) |
|
31 | + public function __construct($options, $config) |
|
32 | 32 | { |
33 | 33 | $this->options = $options; |
34 | 34 | $this->config = $config; |
@@ -42,9 +42,9 @@ discard block |
||
42 | 42 | */ |
43 | 43 | public function __invoke() |
44 | 44 | { |
45 | - $SocialNetworksEnabled=[]; |
|
46 | - foreach($this->config['hybridauth'] as $key => $val) { |
|
47 | - if ($val['enabled'] and in_array(strtolower($key), $this->options->getEnableLogins())){ |
|
45 | + $SocialNetworksEnabled = []; |
|
46 | + foreach ($this->config['hybridauth'] as $key => $val) { |
|
47 | + if ($val['enabled'] and in_array(strtolower($key), $this->options->getEnableLogins())) { |
|
48 | 48 | $SocialNetworksEnabled[strtolower($key)] = $key; |
49 | 49 | } |
50 | 50 | } |
@@ -1,11 +1,11 @@ |
||
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 | /** SettingsEntityResolverFactory.php */ |
11 | 11 | namespace Settings\Repository; |
@@ -70,7 +70,7 @@ |
||
70 | 70 | } |
71 | 71 | |
72 | 72 | /** |
73 | - * @return bool |
|
73 | + * @return string |
|
74 | 74 | */ |
75 | 75 | public function getMode() |
76 | 76 | { |
@@ -40,9 +40,9 @@ |
||
40 | 40 | * @var array |
41 | 41 | */ |
42 | 42 | protected $reCaptcha = [ |
43 | - 'public_key' => 'Your Recapture Public Key', // "site_key" |
|
44 | - 'private_key' => 'Your Recapture Private Key', // "secret_key" |
|
45 | - 'ssl' => true, // include google api via http(s) |
|
43 | + 'public_key' => 'Your Recapture Public Key', // "site_key" |
|
44 | + 'private_key' => 'Your Recapture Private Key', // "secret_key" |
|
45 | + 'ssl' => true, // include google api via http(s) |
|
46 | 46 | ]; |
47 | 47 | |
48 | 48 | /** |
@@ -1,12 +1,12 @@ |
||
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 | - * @author [email protected] |
|
9 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + * @author [email protected] |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Organizations\Form; |
12 | 12 |
@@ -61,8 +61,8 @@ |
||
61 | 61 | |
62 | 62 | $this->add($fieldset); |
63 | 63 | |
64 | - $mode=$options->getMode(); |
|
65 | - if (in_array($mode, [CaptchaOptions::RE_CAPTCHA,CaptchaOptions::IMAGE])) { |
|
64 | + $mode = $options->getMode(); |
|
65 | + if (in_array($mode, [CaptchaOptions::RE_CAPTCHA, CaptchaOptions::IMAGE])) { |
|
66 | 66 | if ($mode == CaptchaOptions::IMAGE) { |
67 | 67 | $captcha = new Image($options->getImage()); |
68 | 68 | } elseif ($mode == CaptchaOptions::RE_CAPTCHA) { |
@@ -1,11 +1,11 @@ |
||
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 Organizations\Factory\Controller; |
11 | 11 |
@@ -31,7 +31,7 @@ |
||
31 | 31 | $service = $serviceLocator->getServiceLocator(); |
32 | 32 | |
33 | 33 | $searchForm = $service->get('forms') |
34 | - ->get('Jobs/ListFilter', [ 'fieldset' => 'Jobs/ListFilterAdminFieldset' ]); |
|
34 | + ->get('Jobs/ListFilter', ['fieldset' => 'Jobs/ListFilterAdminFieldset']); |
|
35 | 35 | |
36 | 36 | /* @var $user \Auth\Entity\User */ |
37 | 37 | $user = $service->get('AuthenticationService')->getUser(); |
@@ -1,11 +1,11 @@ |
||
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 Organizations\Factory\Controller; |
11 | 11 |
@@ -32,7 +32,7 @@ |
||
32 | 32 | $serviceLocator = $serviceLocator->getServiceLocator(); |
33 | 33 | |
34 | 34 | $searchForm = $serviceLocator->get('forms') |
35 | - ->get('Jobs/ListFilter', [ 'fieldset' => 'Jobs/ListFilterPersonalFieldset' ]); |
|
35 | + ->get('Jobs/ListFilter', ['fieldset' => 'Jobs/ListFilterPersonalFieldset']); |
|
36 | 36 | |
37 | 37 | /** |
38 | 38 | * @var $jobRepository Repository\Job |
@@ -1,11 +1,11 @@ |
||
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 Organizations\Factory\Controller; |
11 | 11 |