@@ -15,7 +15,6 @@ |
||
15 | 15 | |
16 | 16 | /** |
17 | 17 | * |
18 | - |
|
19 | 18 | */ |
20 | 19 | interface FileInterface extends |
21 | 20 | IdentifiableEntityInterface, |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | * Gets the Day of the date of birth |
31 | 31 | * |
32 | 32 | * @return string |
33 | - */ |
|
33 | + */ |
|
34 | 34 | public function getBirthDay(); |
35 | 35 | |
36 | 36 | /** |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | * Gets the month of the date of birth |
45 | 45 | * |
46 | 46 | * @return string |
47 | - */ |
|
47 | + */ |
|
48 | 48 | public function getBirthMonth(); |
49 | 49 | |
50 | 50 | /** |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | * Gets the Year of the date of birth. |
59 | 59 | * |
60 | 60 | * @return string |
61 | - */ |
|
61 | + */ |
|
62 | 62 | public function getBirthYear(); |
63 | 63 | |
64 | 64 | /** |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | * Gets the gender |
112 | 112 | * |
113 | 113 | * @return string |
114 | - */ |
|
114 | + */ |
|
115 | 115 | public function getGender(); |
116 | 116 | |
117 | 117 | |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | * Gets the users street |
155 | 155 | * |
156 | 156 | * @return string |
157 | - */ |
|
157 | + */ |
|
158 | 158 | public function getStreet(); |
159 | 159 | |
160 | 160 | /** |
@@ -62,6 +62,6 @@ |
||
62 | 62 | ) |
63 | 63 | ) |
64 | 64 | ) |
65 | - ); |
|
65 | + ); |
|
66 | 66 | } |
67 | 67 | } |
@@ -24,19 +24,19 @@ |
||
24 | 24 | public function init() |
25 | 25 | { |
26 | 26 | $this->add( |
27 | - array( |
|
28 | - 'type' => 'Core/Spinner-Submit', |
|
29 | - 'name' => 'calculate', |
|
30 | - 'options' => array( |
|
31 | - 'label' => /*@translate*/ 'Calculate price', |
|
32 | - ), |
|
33 | - 'attributes' => array( |
|
34 | - 'id' => 'calculate', |
|
35 | - 'type' => 'button', |
|
36 | - 'value' => 'calculate', |
|
37 | - 'class' => 'mps-calculate btn btn-success btn-xs' |
|
38 | - ), |
|
39 | - ) |
|
27 | + array( |
|
28 | + 'type' => 'Core/Spinner-Submit', |
|
29 | + 'name' => 'calculate', |
|
30 | + 'options' => array( |
|
31 | + 'label' => /*@translate*/ 'Calculate price', |
|
32 | + ), |
|
33 | + 'attributes' => array( |
|
34 | + 'id' => 'calculate', |
|
35 | + 'type' => 'button', |
|
36 | + 'value' => 'calculate', |
|
37 | + 'class' => 'mps-calculate btn btn-success btn-xs' |
|
38 | + ), |
|
39 | + ) |
|
40 | 40 | ); |
41 | 41 | |
42 | 42 | parent::init(); |
@@ -34,7 +34,7 @@ |
||
34 | 34 | public function init() |
35 | 35 | { |
36 | 36 | $this->setHydrator(new \Core\Entity\Hydrator\EntityHydrator()) |
37 | - ->setName('base'); |
|
37 | + ->setName('base'); |
|
38 | 38 | |
39 | 39 | $this->add( |
40 | 40 | array( |
@@ -39,12 +39,12 @@ |
||
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; |
@@ -28,9 +28,9 @@ discard block |
||
28 | 28 | public function init() |
29 | 29 | { |
30 | 30 | $this->setName('data') |
31 | - ->setLabel('Group data') |
|
32 | - ->setUseAsBaseFieldset(true) |
|
33 | - ->setHydrator(new EntityHydrator()); |
|
31 | + ->setLabel('Group data') |
|
32 | + ->setUseAsBaseFieldset(true) |
|
33 | + ->setHydrator(new EntityHydrator()); |
|
34 | 34 | |
35 | 35 | $this->add( |
36 | 36 | array( |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | 'required' => true, |
70 | 70 | 'validators' => array( |
71 | 71 | array('name' => 'Auth/Form/UniqueGroupName', |
72 | - 'options' => array( |
|
72 | + 'options' => array( |
|
73 | 73 | 'allowName' => 'edit' == $this->getOption('mode') |
74 | 74 | ? $this->getObject()->getName() |
75 | 75 | : null |
@@ -25,7 +25,7 @@ |
||
25 | 25 | public function init() |
26 | 26 | { |
27 | 27 | $this->setIsDisableCapable(false) |
28 | - ->setIsDisableElementsCapable(false); |
|
28 | + ->setIsDisableElementsCapable(false); |
|
29 | 29 | |
30 | 30 | $this->setForms( |
31 | 31 | array( |
@@ -73,14 +73,14 @@ |
||
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); |