@@ -1,12 +1,12 @@ |
||
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 | - * @author [email protected] |
|
9 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + * @author [email protected] |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Organizations\Form; |
12 | 12 |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @license MIT |
|
7 | - * @copyright 2013 - 2015 Cross Solution <http://cross-solution.de> |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @license MIT |
|
7 | + * @copyright 2013 - 2015 Cross Solution <http://cross-solution.de> |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** */ |
11 | 11 | namespace Organizations\Mail; |
@@ -81,12 +81,12 @@ discard block |
||
81 | 81 | $url = $router->assemble( |
82 | 82 | array('action' => 'accept'), |
83 | 83 | array( |
84 | - 'name' => 'lang/organizations/invite', |
|
85 | - 'query' => array( |
|
86 | - 'token' => $this->options['token'], |
|
87 | - 'organization' => $org->getId() |
|
88 | - ) |
|
89 | - ) |
|
84 | + 'name' => 'lang/organizations/invite', |
|
85 | + 'query' => array( |
|
86 | + 'token' => $this->options['token'], |
|
87 | + 'organization' => $org->getId() |
|
88 | + ) |
|
89 | + ) |
|
90 | 90 | ); |
91 | 91 | |
92 | 92 | $variables = array( |
@@ -107,14 +107,14 @@ discard block |
||
107 | 107 | |
108 | 108 | $mail = $serviceLocator->get('htmltemplate'); |
109 | 109 | $mail->setTemplate($this->options['template']) |
110 | - ->setVariables($variables) |
|
111 | - ->setSubject( |
|
112 | - sprintf( |
|
113 | - /* @translate */ 'Invitation to join the team of %s', |
|
114 | - $orgName |
|
115 | - ) |
|
116 | - ) |
|
117 | - ->addTo($user->getEmail()); |
|
110 | + ->setVariables($variables) |
|
111 | + ->setSubject( |
|
112 | + sprintf( |
|
113 | + /* @translate */ 'Invitation to join the team of %s', |
|
114 | + $orgName |
|
115 | + ) |
|
116 | + ) |
|
117 | + ->addTo($user->getEmail()); |
|
118 | 118 | |
119 | 119 | return $mail; |
120 | 120 | } |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @license MIT |
|
7 | - * @copyright 2013 - 2015 Cross Solution <http://cross-solution.de> |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @license MIT |
|
7 | + * @copyright 2013 - 2015 Cross Solution <http://cross-solution.de> |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** */ |
11 | 11 | namespace Organizations\Repository\Event; |
@@ -40,7 +40,7 @@ |
||
40 | 40 | |
41 | 41 | if ($document instanceof UserInterface) { |
42 | 42 | $repository = $args->getDocumentManager()->getRepository('Organizations\Entity\Organization'); |
43 | - $userId = $document->getId(); |
|
43 | + $userId = $document->getId(); |
|
44 | 44 | $reference = new OrganizationReference($userId, $repository); |
45 | 45 | |
46 | 46 | $document->setOrganization($reference); |
@@ -1,10 +1,10 @@ discard block |
||
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\Repository\Filter; |
10 | 10 | |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | //$queryBuilder->field('user')->equals($this->auth->getUser()->id); |
66 | 66 | } |
67 | 67 | if (isset($value['by']) && 'new' == $value['by']) { |
68 | - //$queryBuilder->field('readBy')->notEqual( new \MongoId($this->auth->getUser()->id)); |
|
68 | + //$queryBuilder->field('readBy')->notEqual( new \MongoId($this->auth->getUser()->id)); |
|
69 | 69 | } |
70 | 70 | |
71 | 71 |
@@ -24,7 +24,7 @@ |
||
24 | 24 | * |
25 | 25 | * @var String |
26 | 26 | */ |
27 | - protected $repositoryName="Organizations/Organization"; |
|
27 | + protected $repositoryName = "Organizations/Organization"; |
|
28 | 28 | |
29 | 29 | /** |
30 | 30 | * Sortable fields |
@@ -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 GPLv3 |
|
7 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
6 | + * @license GPLv3 |
|
7 | + */ |
|
8 | 8 | |
9 | 9 | namespace Organizations\Repository; |
10 | 10 |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * Settings Module Bootstrap |
|
5 | - * |
|
6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * Settings Module Bootstrap |
|
5 | + * |
|
6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** Core */ |
11 | 11 | namespace Settings; |
@@ -1,16 +1,16 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * Configuration file of the Core module |
|
5 | - * |
|
6 | - * This file intents to provide the configuration for all other modules |
|
7 | - * as well (convention over configuration). |
|
8 | - * Having said that, you may always overwrite or extend the configuration |
|
9 | - * in your own modules configuration file(s) (or via the config autoloading). |
|
10 | - * |
|
11 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
12 | - * @license MIT |
|
13 | - */ |
|
3 | + * YAWIK |
|
4 | + * Configuration file of the Core module |
|
5 | + * |
|
6 | + * This file intents to provide the configuration for all other modules |
|
7 | + * as well (convention over configuration). |
|
8 | + * Having said that, you may always overwrite or extend the configuration |
|
9 | + * in your own modules configuration file(s) (or via the config autoloading). |
|
10 | + * |
|
11 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
12 | + * @license MIT |
|
13 | + */ |
|
14 | 14 | |
15 | 15 | return array( |
16 | 16 | |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | 'odm_default' => array( |
27 | 27 | 'subscribers' => array( |
28 | 28 | 'Settings/InjectEntityResolverListener', |
29 | - ), |
|
29 | + ), |
|
30 | 30 | ), |
31 | 31 | ), |
32 | 32 | ), |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | $valid = $form->isValid(); |
80 | 80 | $partial = $services->get('viewhelpermanager')->get('partial'); |
81 | 81 | $text = $valid |
82 | - ? /*@translate*/'Changes successfully saved' |
|
82 | + ? /*@translate*/'Changes successfully saved' |
|
83 | 83 | : /*@translate*/'Changes could not be saved'; |
84 | 84 | |
85 | 85 | $vars = array(); |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | return new JsonModel($vars); |
100 | 100 | } |
101 | 101 | |
102 | - $vars['form']=$form; |
|
102 | + $vars['form'] = $form; |
|
103 | 103 | return $vars; |
104 | 104 | } |
105 | 105 | } |
@@ -23,7 +23,7 @@ |
||
23 | 23 | parent::__construct(); |
24 | 24 | $this->addFilter( |
25 | 25 | 'ignoreInternalProperties', |
26 | - function ($property) { |
|
26 | + function($property) { |
|
27 | 27 | return "_" != $property{0}; |
28 | 28 | } |
29 | 29 | ); |
@@ -1,11 +1,11 @@ |
||
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 | /** SettingsEntityResolverFactory.php */ |
11 | 11 | namespace Settings\Repository; |