@@ -77,6 +77,7 @@ discard block |
||
| 77 | 77 | |
| 78 | 78 | /** |
| 79 | 79 | * @param string $description |
| 80 | + * @param double[] $params |
|
| 80 | 81 | * |
| 81 | 82 | * @return $this |
| 82 | 83 | */ |
@@ -258,7 +259,7 @@ discard block |
||
| 258 | 259 | } |
| 259 | 260 | |
| 260 | 261 | /** |
| 261 | - * @param $spec |
|
| 262 | + * @param string $spec |
|
| 262 | 263 | * |
| 263 | 264 | * @return $this |
| 264 | 265 | */ |
@@ -80,7 +80,7 @@ |
||
| 80 | 80 | * |
| 81 | 81 | * @return $this |
| 82 | 82 | */ |
| 83 | - public function setDescription($description,$params = null) |
|
| 83 | + public function setDescription($description, $params = null) |
|
| 84 | 84 | { |
| 85 | 85 | $this->options['description'] = $description; |
| 86 | 86 | $this->options['description_params'] = $params; |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | /** |
| 39 | - * @param $name |
|
| 39 | + * @param string $name |
|
| 40 | 40 | * |
| 41 | 41 | * @return mixed |
| 42 | 42 | */ |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | /** |
| 60 | 60 | * @param array $data |
| 61 | 61 | * |
| 62 | - * @return mixed |
|
| 62 | + * @return EntityInterface |
|
| 63 | 63 | */ |
| 64 | 64 | public function create(array $data = null) |
| 65 | 65 | { |
@@ -32,7 +32,6 @@ |
||
| 32 | 32 | } |
| 33 | 33 | |
| 34 | 34 | /** |
| 35 | - * @param mixed $value$organizationImageEntity |
|
| 36 | 35 | * |
| 37 | 36 | * @return mixed |
| 38 | 37 | */ |
@@ -1,11 +1,11 @@ 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 | - */ |
|
| 3 | + * YAWIK |
|
| 4 | + * |
|
| 5 | + * @filesource |
|
| 6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
| 7 | + * @license MIT |
|
| 8 | + */ |
|
| 9 | 9 | |
| 10 | 10 | /** */ |
| 11 | 11 | namespace Applications\Factory\Form; |
@@ -73,14 +73,14 @@ discard block |
||
| 73 | 73 | $count = $options->getAttachmentsCount(); |
| 74 | 74 | |
| 75 | 75 | $form->setIsDisableCapable(false) |
| 76 | - ->setIsDisableElementsCapable(false) |
|
| 77 | - ->setIsDescriptionsEnabled(true) |
|
| 78 | - ->setDescription( |
|
| 76 | + ->setIsDisableElementsCapable(false) |
|
| 77 | + ->setIsDescriptionsEnabled(true) |
|
| 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)] |
|
| 81 | - ) |
|
| 82 | - ->setParam('return', 'file-uri') |
|
| 83 | - ->setLabel(/*@translate*/ 'Attachments'); |
|
| 80 | + [round($size/(1024*1024))>0? round($size/(1024*1024)):round($size/(1024*1024),1)] |
|
| 81 | + ) |
|
| 82 | + ->setParam('return', 'file-uri') |
|
| 83 | + ->setLabel(/*@translate*/ 'Attachments'); |
|
| 84 | 84 | |
| 85 | 85 | /** @var $file FileUpload*/ |
| 86 | 86 | $file = $form->get($this->fileName); |
@@ -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'); |
@@ -1,11 +1,11 @@ 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 | - */ |
|
| 3 | + * YAWIK |
|
| 4 | + * |
|
| 5 | + * @filesource |
|
| 6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
| 7 | + * @license MIT |
|
| 8 | + */ |
|
| 9 | 9 | |
| 10 | 10 | /** AttachmentsFieldset.php */ |
| 11 | 11 | namespace Applications\Form; |
@@ -20,7 +20,7 @@ discard block |
||
| 20 | 20 | public function init() |
| 21 | 21 | { |
| 22 | 22 | $this->setName('carboncopy') |
| 23 | - ->setLabel('Options'); |
|
| 23 | + ->setLabel('Options'); |
|
| 24 | 24 | |
| 25 | 25 | $this->add( |
| 26 | 26 | array( |
@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | 'id', |
| 99 | 99 | preg_replace( |
| 100 | 100 | array('~[^A-Za-z0-9_-]~', '~--+~', '~^-|-$~'), |
| 101 | - array('-' , '-' , '' ), |
|
| 101 | + array('-', '-', ''), |
|
| 102 | 102 | $formId |
| 103 | 103 | ) |
| 104 | 104 | ); |
@@ -119,7 +119,7 @@ discard block |
||
| 119 | 119 | if (!$element->hasAttribute('id')) { |
| 120 | 120 | $elementId = preg_replace( |
| 121 | 121 | array('~[^A-Za-z0-9_-]~', '~--+~', '~^-|-$~'), |
| 122 | - array('-' , '-', ''), |
|
| 122 | + array('-', '-', ''), |
|
| 123 | 123 | $form->getName() . '-' . $element->getName() |
| 124 | 124 | ); |
| 125 | 125 | $element->setAttribute('id', $elementId); |
@@ -185,7 +185,7 @@ discard block |
||
| 185 | 185 | ); |
| 186 | 186 | |
| 187 | 187 | if ($desc = $form->getOption('description', '')) { |
| 188 | - $descriptionParams=$form->getOption('description_params'); |
|
| 188 | + $descriptionParams = $form->getOption('description_params'); |
|
| 189 | 189 | $translator = $this->getTranslator(); |
| 190 | 190 | $textDomain = $this->getTranslatorTextDomain(); |
| 191 | 191 | $desc = $translator->translate($desc, $textDomain); |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * YAWIK |
|
| 4 | - * |
|
| 5 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
| 6 | - * @license MIT |
|
| 7 | - */ |
|
| 3 | + * YAWIK |
|
| 4 | + * |
|
| 5 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
| 6 | + * @license MIT |
|
| 7 | + */ |
|
| 8 | 8 | |
| 9 | 9 | namespace Organizations\Entity; |
| 10 | 10 | |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * YAWIK |
|
| 4 | - * |
|
| 5 | - * @copyright (c) 2013-2016 Cross Solution (http://cross-solution.de) |
|
| 6 | - * @license MIT |
|
| 7 | - */ |
|
| 3 | + * YAWIK |
|
| 4 | + * |
|
| 5 | + * @copyright (c) 2013-2016 Cross Solution (http://cross-solution.de) |
|
| 6 | + * @license MIT |
|
| 7 | + */ |
|
| 8 | 8 | |
| 9 | 9 | namespace Organizations\Entity; |
| 10 | 10 | |
@@ -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; |