@@ -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 | /** Auth view helper */ |
11 | 11 | namespace Auth\View\Helper; |
@@ -24,6 +24,6 @@ discard block |
||
24 | 24 | */ |
25 | 25 | public function __invoke($values = array()) |
26 | 26 | { |
27 | - return $this->getView()->render('auth/index/login-info', $values); |
|
27 | + return $this->getView()->render('auth/index/login-info', $values); |
|
28 | 28 | } |
29 | 29 | } |
@@ -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 | /** FileController.php */ |
11 | 11 | namespace Core\Controller; |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | $this->acl($file); |
76 | 76 | |
77 | 77 | $response->getHeaders()->addHeaderline('Content-Type', $file->type) |
78 | - ->addHeaderline('Content-Length', $file->length); |
|
78 | + ->addHeaderline('Content-Length', $file->length); |
|
79 | 79 | $response->sendHeaders(); |
80 | 80 | |
81 | 81 | $resource = $file->getResource(); |
@@ -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 | /** ActionController of Core */ |
11 | 11 | namespace Core\Controller; |
@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | { |
132 | 132 | $viewModel = new ViewModel(); |
133 | 133 | $viewModel->setTemplate('error/index') |
134 | - ->setVariable('message', 'An unexpected error had occured. Please try again later.'); |
|
134 | + ->setVariable('message', 'An unexpected error had occured. Please try again later.'); |
|
135 | 135 | return $viewModel; |
136 | 136 | } |
137 | 137 | } |
@@ -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 | namespace Core\Controller\Plugin; |
11 | 11 | |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | public function trigger($event, $target = null) |
43 | 43 | { |
44 | 44 | if (empty($this->_template) || !is_string($this->_template)) { |
45 | - throw new \InvalidArgumentException('ContentCollector must have a template-name'); |
|
45 | + throw new \InvalidArgumentException('ContentCollector must have a template-name'); |
|
46 | 46 | } |
47 | 47 | |
48 | 48 | $responseCollection = $this->getController()->getEventManager()->trigger($event, $target); |
@@ -50,9 +50,9 @@ discard block |
||
50 | 50 | $viewModel->setTemplate($this->_template); |
51 | 51 | foreach ($responseCollection as $i => $response) { |
52 | 52 | if (is_string($response)) { |
53 | - $template = $response; |
|
54 | - $response = new ViewModel(array('target' => $target)); |
|
55 | - $response->setTemplate($template); |
|
53 | + $template = $response; |
|
54 | + $response = new ViewModel(array('target' => $target)); |
|
55 | + $response->setTemplate($template); |
|
56 | 56 | } |
57 | 57 | $viewModel->addChild($response, $this->_captureTo . $i); |
58 | 58 | } |
@@ -42,7 +42,7 @@ |
||
42 | 42 | $this->filterSortParam($params); |
43 | 43 | $paginator = $this->createPaginator($repository, $params); |
44 | 44 | $paginator->setCurrentPageNumber($params->get('page', 1)) |
45 | - ->setItemCountPerPage($params->get('count', 10)); |
|
45 | + ->setItemCountPerPage($params->get('count', 10)); |
|
46 | 46 | |
47 | 47 | return $paginator; |
48 | 48 |
@@ -1,12 +1,12 @@ 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 | - * @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 Core\Controller\Plugin; |
12 | 12 | |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | //$paginator = $this->createPaginator($repository, $params); |
61 | 61 | $adapter->setParams($params); |
62 | 62 | $paginator->setCurrentPageNumber($params->get('page', 1)) |
63 | - ->setItemCountPerPage($params->get('count', 10)); |
|
63 | + ->setItemCountPerPage($params->get('count', 10)); |
|
64 | 64 | |
65 | 65 | return $paginator; |
66 | 66 | } |
@@ -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 | /** FileSender.php */ |
11 | 11 | namespace Core\Controller\Plugin; |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | } |
33 | 33 | |
34 | 34 | $response->getHeaders()->addHeaderline('Content-Type', $file->type) |
35 | - ->addHeaderline('Content-Length', $file->size); |
|
35 | + ->addHeaderline('Content-Length', $file->size); |
|
36 | 36 | $response->sendHeaders(); |
37 | 37 | |
38 | 38 | $resource = $file->getResource(); |
@@ -13,9 +13,9 @@ discard block |
||
13 | 13 | |
14 | 14 | class mail extends Message implements PluginInterface |
15 | 15 | { |
16 | - protected $controller; |
|
17 | - protected $param; |
|
18 | - protected $config; |
|
16 | + protected $controller; |
|
17 | + protected $param; |
|
18 | + protected $config; |
|
19 | 19 | |
20 | 20 | /** |
21 | 21 | * Set the current controller instance |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | } elseif (isset($this->config['templateHalf'])) { |
142 | 142 | $template = $this->config['templateHalf']; |
143 | 143 | } else { |
144 | - throw new \InvalidArgumentException('Not template provided for Mail.'); |
|
144 | + throw new \InvalidArgumentException('Not template provided for Mail.'); |
|
145 | 145 | } |
146 | 146 | return $template; |
147 | 147 | } |
@@ -154,19 +154,19 @@ discard block |
||
154 | 154 | $from = $this->config['from']; |
155 | 155 | } else { |
156 | 156 | $log->err('A from email address must be provided (Variable $from) in Template: ' . $template); |
157 | - throw new \InvalidArgumentException('A from email address must be provided (Variable $from) in Template: ' . $template); |
|
157 | + throw new \InvalidArgumentException('A from email address must be provided (Variable $from) in Template: ' . $template); |
|
158 | 158 | } |
159 | 159 | if (isset($this->config['fromName'])) { |
160 | 160 | $fromName = $this->config['fromName']; |
161 | 161 | } else { |
162 | 162 | $log->err('A from name must be provided (Variable $fromName) in Template: ' . $template); |
163 | - throw new \InvalidArgumentException('A from name must be provided (Variable $fromName) in Template: ' . $template); |
|
163 | + throw new \InvalidArgumentException('A from name must be provided (Variable $fromName) in Template: ' . $template); |
|
164 | 164 | } |
165 | 165 | if (isset($this->config['subject'])) { |
166 | 166 | $subject = $this->config['subject']; |
167 | 167 | } else { |
168 | 168 | $log->err('A subject must be provided (Variable $subject) in Template: ' . $template); |
169 | - throw new \InvalidArgumentException('A subject must be provided (Variable $subject) in Template: ' . $template); |
|
169 | + throw new \InvalidArgumentException('A subject must be provided (Variable $subject) in Template: ' . $template); |
|
170 | 170 | } |
171 | 171 | $this->setFrom($from, $fromName); |
172 | 172 | $this->setSubject($subject); |
@@ -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 | /** Core Entitys */ |
11 | 11 | namespace Core\Entity; |
@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | /** |
16 | 16 | * |
17 | 17 | * @ODM\MappedSuperclass |
18 | - */ |
|
18 | + */ |
|
19 | 19 | abstract class AbstractIdentifiableEntity extends AbstractEntity implements IdentifiableEntityInterface |
20 | 20 | { |
21 | 21 |