@@ -26,8 +26,8 @@ |
||
26 | 26 | { |
27 | 27 | |
28 | 28 | protected $identifiers = array( |
29 | - 'Jobs/Acl/Assertions', |
|
30 | - 'Jobs/Acl/Assertion/Create', |
|
29 | + 'Jobs/Acl/Assertions', |
|
30 | + 'Jobs/Acl/Assertion/Create', |
|
31 | 31 | ); |
32 | 32 | |
33 | 33 | protected function preAssert( |
@@ -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 | ); |
@@ -43,13 +43,13 @@ |
||
43 | 43 | |
44 | 44 | $this->add( |
45 | 45 | array( |
46 | - 'type' => 'Jobs\MultipostingSelect', |
|
47 | - 'property' => true, |
|
48 | - 'name' => 'portals', |
|
49 | - 'options' => array( |
|
50 | - 'label' => /*@translate*/ 'Portals', |
|
51 | - ), |
|
52 | - ) |
|
46 | + 'type' => 'Jobs\MultipostingSelect', |
|
47 | + 'property' => true, |
|
48 | + 'name' => 'portals', |
|
49 | + 'options' => array( |
|
50 | + 'label' => /*@translate*/ 'Portals', |
|
51 | + ), |
|
52 | + ) |
|
53 | 53 | ); |
54 | 54 | } |
55 | 55 |
@@ -27,10 +27,10 @@ discard block |
||
27 | 27 | { |
28 | 28 | $qb = $this->createQueryBuilder(); |
29 | 29 | $qb->hydrate(true) |
30 | - ->select('entity') |
|
31 | - ->field('sourceId')->equals($jobEntity->id) |
|
32 | - ->sort('dateCreated', 'desc') |
|
33 | - ->limit(1); |
|
30 | + ->select('entity') |
|
31 | + ->field('sourceId')->equals($jobEntity->id) |
|
32 | + ->sort('dateCreated', 'desc') |
|
33 | + ->limit(1); |
|
34 | 34 | |
35 | 35 | $result = $qb->getQuery()->execute(); |
36 | 36 | if ($result->count() == 0) { |
@@ -53,9 +53,9 @@ discard block |
||
53 | 53 | // So we need to create a cursor, that skips the first Document |
54 | 54 | $qb = $this->createQueryBuilder(); |
55 | 55 | $qb->hydrate(false) |
56 | - ->select('entity') |
|
57 | - ->field('sourceId')->equals($jobEntity->id) |
|
58 | - ->sort('dateCreated', 'desc'); |
|
56 | + ->select('entity') |
|
57 | + ->field('sourceId')->equals($jobEntity->id) |
|
58 | + ->sort('dateCreated', 'desc'); |
|
59 | 59 | $result = $qb->getQuery()->execute()->skip(1); |
60 | 60 | foreach ($result as $item) { |
61 | 61 | $id = $item['_id']; |
@@ -1,8 +1,8 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author Mathias Weitz <[email protected]> |
|
4 | - * @author Mathias Gelhausen <[email protected]> |
|
5 | - */ |
|
3 | + * @author Mathias Weitz <[email protected]> |
|
4 | + * @author Mathias Gelhausen <[email protected]> |
|
5 | + */ |
|
6 | 6 | |
7 | 7 | return array( |
8 | 8 | 'doctrine' => array( |
@@ -63,13 +63,13 @@ discard block |
||
63 | 63 | 'view_manager' => array( |
64 | 64 | // Map template to files. Speeds up the lookup through the template stack. |
65 | 65 | 'template_map' => array( |
66 | - 'organizations/index/edit' => __DIR__ . '/../view/organizations/index/form.phtml', |
|
67 | - 'organizations/form/employees-fieldset' => __DIR__ . '/../view/form/employees-fieldset.phtml', |
|
68 | - 'organizations/form/employee-fieldset' => __DIR__ .'/../view/form/employee-fieldset.phtml', |
|
69 | - 'organizations/form/invite-employee-bar' => __DIR__ . '/../view/form/invite-employee-bar.phtml', |
|
70 | - 'organizations/error/no-parent' => __DIR__ . '/../view/error/no-parent.phtml', |
|
71 | - 'organizations/error/invite' => __DIR__ . '/../view/error/invite.phtml', |
|
72 | - 'organizations/mail/invite-employee' => __DIR__ . '/../view/mail/invite-employee.phtml', |
|
66 | + 'organizations/index/edit' => __DIR__ . '/../view/organizations/index/form.phtml', |
|
67 | + 'organizations/form/employees-fieldset' => __DIR__ . '/../view/form/employees-fieldset.phtml', |
|
68 | + 'organizations/form/employee-fieldset' => __DIR__ .'/../view/form/employee-fieldset.phtml', |
|
69 | + 'organizations/form/invite-employee-bar' => __DIR__ . '/../view/form/invite-employee-bar.phtml', |
|
70 | + 'organizations/error/no-parent' => __DIR__ . '/../view/error/no-parent.phtml', |
|
71 | + 'organizations/error/invite' => __DIR__ . '/../view/error/invite.phtml', |
|
72 | + 'organizations/mail/invite-employee' => __DIR__ . '/../view/mail/invite-employee.phtml', |
|
73 | 73 | ), |
74 | 74 | // Where to look for view templates not mapped above |
75 | 75 | 'template_path_stack' => array( |
@@ -78,13 +78,13 @@ discard block |
||
78 | 78 | ), |
79 | 79 | 'form_elements' => array( |
80 | 80 | 'invokables' => array( |
81 | - 'Organizations/form' => 'Organizations\Form\Organizations', |
|
82 | - 'Organizations/OrganizationsContactForm' => 'Organizations\Form\OrganizationsContactForm', |
|
83 | - 'Organizations/OrganizationsNameForm' => 'Organizations\Form\OrganizationsNameForm', |
|
84 | - 'Organizations/OrganizationsDescriptionForm' => 'Organizations\Form\OrganizationsDescriptionForm', |
|
85 | - 'Organizations/OrganizationsContactFieldset' => 'Organizations\Form\OrganizationsContactFieldset', |
|
86 | - 'Organizations/OrganizationsNameFieldset' => 'Organizations\Form\OrganizationsNameFieldset', |
|
87 | - 'Organizations/OrganizationsDescriptionFieldset' => 'Organizations\Form\OrganizationsDescriptionFieldset', |
|
81 | + 'Organizations/form' => 'Organizations\Form\Organizations', |
|
82 | + 'Organizations/OrganizationsContactForm' => 'Organizations\Form\OrganizationsContactForm', |
|
83 | + 'Organizations/OrganizationsNameForm' => 'Organizations\Form\OrganizationsNameForm', |
|
84 | + 'Organizations/OrganizationsDescriptionForm' => 'Organizations\Form\OrganizationsDescriptionForm', |
|
85 | + 'Organizations/OrganizationsContactFieldset' => 'Organizations\Form\OrganizationsContactFieldset', |
|
86 | + 'Organizations/OrganizationsNameFieldset' => 'Organizations\Form\OrganizationsNameFieldset', |
|
87 | + 'Organizations/OrganizationsDescriptionFieldset' => 'Organizations\Form\OrganizationsDescriptionFieldset', |
|
88 | 88 | //'Organizations/OrganizationFieldset' => 'Organizations\Form\OrganizationFieldset', |
89 | 89 | 'Organizations/EmployeesContainer' => 'Organizations\Form\EmployeesContainer', |
90 | 90 | 'Organizations/Employees' => 'Organizations\Form\Employees', |
@@ -102,7 +102,7 @@ |
||
102 | 102 | $fieldset->setLabel(ucfirst($label)); |
103 | 103 | } |
104 | 104 | $fieldset->setName($name) |
105 | - ->setObject($child); |
|
105 | + ->setObject($child); |
|
106 | 106 | |
107 | 107 | |
108 | 108 | $this->add($fieldset); |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * |
|
4 | - */ |
|
3 | + * |
|
4 | + */ |
|
5 | 5 | |
6 | 6 | namespace Settings\Repository\Service; |
7 | 7 |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | 3 | * |
4 | - */ |
|
4 | + */ |
|
5 | 5 | |
6 | 6 | namespace Core\Form\View\Helper; |
7 | 7 |
@@ -194,7 +194,7 @@ |
||
194 | 194 | $qb->addOr($qb->expr()->field('info.email')->equals($regex)); |
195 | 195 | } |
196 | 196 | $qb->sort(array('info.lastName' => 1)) |
197 | - ->sort(array('info.email' => 1)); |
|
197 | + ->sort(array('info.email' => 1)); |
|
198 | 198 | |
199 | 199 | return $qb->getQuery()->execute(); |
200 | 200 | } |