@@ -23,7 +23,7 @@ |
||
23 | 23 | * |
24 | 24 | * @var array |
25 | 25 | */ |
26 | - protected $aConfig = [ |
|
26 | + protected $aConfig = [ |
|
27 | 27 | 'core' => [ |
28 | 28 | 'version' => Jaxon::VERSION, |
29 | 29 | 'language' => 'en', |
@@ -1,4 +1,4 @@ |
||
1 | -<?php if(($this->sScript)): ?> |
|
1 | +<?php if (($this->sScript)): ?> |
|
2 | 2 | jaxon.dom.ready(function() { |
3 | 3 | <?php echo $this->sScript ?> |
4 | 4 | }); |
@@ -1,4 +1,4 @@ |
||
1 | -<?php if(($this->sScript)): ?> |
|
1 | +<?php if (($this->sScript)): ?> |
|
2 | 2 | <script type="text/javascript" <?php echo $this->sJsOptions ?> charset="UTF-8"> |
3 | 3 | /* <![CDATA[ */ |
4 | 4 | <?php echo $this->sScript ?> |
@@ -1,3 +1,3 @@ |
||
1 | -<?php foreach($this->aUrls as $sUrl): |
|
1 | +<?php foreach ($this->aUrls as $sUrl): |
|
2 | 2 | $this->include('jaxon::plugins/include.js', ['sUrl' => $sUrl, 'sJsOptions' => $this->sJsOptions]); |
3 | 3 | endforeach; |
@@ -1,13 +1,13 @@ |
||
1 | 1 | <ul class="pagination"><?php |
2 | - if(($this->prev)) |
|
2 | + if (($this->prev)) |
|
3 | 3 | { |
4 | 4 | echo $this->prev; |
5 | 5 | } |
6 | - foreach($this->links as $link) |
|
6 | + foreach ($this->links as $link) |
|
7 | 7 | { |
8 | 8 | echo $link; |
9 | 9 | } |
10 | - if(($this->next)) |
|
10 | + if (($this->next)) |
|
11 | 11 | { |
12 | 12 | echo $this->next; |
13 | 13 | } |
@@ -1,4 +1,4 @@ |
||
1 | 1 | <?php echo $this->sJsName ?> = function() { |
2 | 2 | return jaxon.request({ jxnfun: '<?php echo $this->sName ?>' }, { parameters: arguments<?php |
3 | - foreach($this->aOptions as $sKey => $sValue): ?>, <?php echo $sKey ?>: <?php echo $sValue ?><?php endforeach ?> }); |
|
3 | + foreach ($this->aOptions as $sKey => $sValue): ?>, <?php echo $sKey ?>: <?php echo $sValue ?><?php endforeach ?> }); |
|
4 | 4 | }; |
@@ -48,7 +48,7 @@ |
||
48 | 48 | $sViewName = $store->getViewName(); |
49 | 49 | $sNamespace = $store->getNamespace(); |
50 | 50 | // In this view renderer, the namespace must always be prepended to the view name. |
51 | - if(substr($sViewName, 0, strlen($sNamespace) + 2) != $sNamespace . '::') |
|
51 | + if (substr($sViewName, 0, strlen($sNamespace) + 2) != $sNamespace . '::') |
|
52 | 52 | { |
53 | 53 | $sViewName = $sNamespace . '::' . $sViewName; |
54 | 54 | } |
@@ -72,7 +72,7 @@ |
||
72 | 72 | // and the other classes will get this request from there. |
73 | 73 | $this->di->val(ServerRequestInterface::class, $request); |
74 | 74 | |
75 | - if(!$this->xRequestHandler->canProcessRequest()) |
|
75 | + if (!$this->xRequestHandler->canProcessRequest()) |
|
76 | 76 | { |
77 | 77 | // Unable to find a plugin to process the request |
78 | 78 | throw new RequestException($this->xTranslator->trans('errors.request.plugin')); |
@@ -64,7 +64,7 @@ |
||
64 | 64 | // and the other classes will get this request from there. |
65 | 65 | $this->di->val(ServerRequestInterface::class, $request); |
66 | 66 | |
67 | - if(!$this->xRequestHandler->canProcessRequest()) |
|
67 | + if (!$this->xRequestHandler->canProcessRequest()) |
|
68 | 68 | { |
69 | 69 | // Unable to find a plugin to process the request |
70 | 70 | return $handler->handle($request); |