@@ -61,7 +61,7 @@ |
||
| 61 | 61 | */ |
| 62 | 62 | function rq($classname = null) |
| 63 | 63 | { |
| 64 | - if(($classname)) |
|
| 64 | + if (($classname)) |
|
| 65 | 65 | { |
| 66 | 66 | return jaxon()->sentry()->request($classname); |
| 67 | 67 | } |
@@ -80,11 +80,11 @@ |
||
| 80 | 80 | protected function includeAssets() |
| 81 | 81 | { |
| 82 | 82 | $sPluginOptionName = 'assets.include.' . $this->getName(); |
| 83 | - if($this->hasOption($sPluginOptionName) && !$this->getOption($sPluginOptionName)) |
|
| 83 | + if ($this->hasOption($sPluginOptionName) && !$this->getOption($sPluginOptionName)) |
|
| 84 | 84 | { |
| 85 | 85 | return false; |
| 86 | 86 | } |
| 87 | - if($this->hasOption('assets.include.all') && !$this->getOption('assets.include.all')) |
|
| 87 | + if ($this->hasOption('assets.include.all') && !$this->getOption('assets.include.all')) |
|
| 88 | 88 | { |
| 89 | 89 | return false; |
| 90 | 90 | } |
@@ -1,11 +1,11 @@ |
||
| 1 | 1 | <ul class="pagination"> |
| 2 | 2 | <?php |
| 3 | - if(($this->prev)) |
|
| 3 | + if (($this->prev)) |
|
| 4 | 4 | { |
| 5 | 5 | echo $this->prev; |
| 6 | 6 | } |
| 7 | 7 | echo $this->links; |
| 8 | - if(($this->next)) |
|
| 8 | + if (($this->next)) |
|
| 9 | 9 | { |
| 10 | 10 | echo $this->next; |
| 11 | 11 | } |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php echo $this->sPrefix ?><?php echo $this->sAlias ?> = function() { |
| 2 | 2 | return jaxon.request( |
| 3 | 3 | { jxnfun: '<?php echo $this->sFunction ?>' }, |
| 4 | - { parameters: arguments<?php foreach($this->aConfig as $sKey => $sValue): ?>, <?php echo $sKey ?>: <?php echo $sValue ?><?php endforeach ?> } |
|
| 4 | + { parameters: arguments<?php foreach ($this->aConfig as $sKey => $sValue): ?>, <?php echo $sKey ?>: <?php echo $sValue ?><?php endforeach ?> } |
|
| 5 | 5 | ); |
| 6 | 6 | }; |
@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php echo $this->sPrefix ?><?php echo $this->sClass ?> = {}; |
| 2 | -<?php foreach($this->aMethods as $aMethod): ?> |
|
| 2 | +<?php foreach ($this->aMethods as $aMethod): ?> |
|
| 3 | 3 | <?php echo $this->sPrefix ?><?php echo $this->sClass ?>.<?php echo $aMethod['name'] ?> = function() { |
| 4 | 4 | return jaxon.request( |
| 5 | 5 | { jxncls: '<?php echo $this->sClass ?>', jxnmthd: '<?php echo $aMethod['name'] ?>' }, |
| 6 | - { parameters: arguments<?php foreach($aMethod['config'] as $sKey => $sValue): ?>, <?php echo $sKey ?>: <?php echo $sValue ?><?php endforeach ?> } |
|
| 6 | + { parameters: arguments<?php foreach ($aMethod['config'] as $sKey => $sValue): ?>, <?php echo $sKey ?>: <?php echo $sValue ?><?php endforeach ?> } |
|
| 7 | 7 | ); |
| 8 | 8 | }; |
| 9 | 9 | <?php endforeach ?> |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php echo $this->sPrefix ?><?php echo $this->sEvent ?> = function() { |
| 2 | 2 | return jaxon.request( |
| 3 | 3 | { jxnevt: '<?php echo $this->sEvent ?>' }, |
| 4 | - { parameters: arguments<?php if(($this->sMode)): ?>, mode: '<?php echo $this->sMode ?>'<?php endif ?><?php if(($this->sMethod)): ?>, method: '<?php echo $this->sMethod ?>'<?php endif ?> } |
|
| 4 | + { parameters: arguments<?php if (($this->sMode)): ?>, mode: '<?php echo $this->sMode ?>'<?php endif ?><?php if (($this->sMethod)): ?>, method: '<?php echo $this->sMethod ?>'<?php endif ?> } |
|
| 5 | 5 | ); |
| 6 | 6 | }; |
@@ -1,3 +1,3 @@ |
||
| 1 | -<?php foreach($this->aUrls as $sUrl): ?> |
|
| 1 | +<?php foreach ($this->aUrls as $sUrl): ?> |
|
| 2 | 2 | <script type="text/javascript" src="<?php echo $sUrl ?>" <?php echo $this->sJsOptions ?> charset="UTF-8"></script> |
| 3 | 3 | <?php endforeach ?> |
@@ -1,7 +1,7 @@ |
||
| 1 | 1 | jaxon.dom.ready(function() { |
| 2 | 2 | jaxon.command.handler.register('cc', jaxon.confirm.commands); |
| 3 | 3 | |
| 4 | -<?php if($this->sPluginScript): ?> |
|
| 4 | +<?php if ($this->sPluginScript): ?> |
|
| 5 | 5 | <?php echo $this->sPluginScript ?> |
| 6 | 6 | <?php endif ?> |
| 7 | 7 | }); |
@@ -23,7 +23,6 @@ discard block |
||
| 23 | 23 | * Return the javascript call to a Jaxon function or object method |
| 24 | 24 | * |
| 25 | 25 | * @param string $sName The function or method (with class) name |
| 26 | - * @param ... $xParams The parameters of the function or method |
|
| 27 | 26 | * |
| 28 | 27 | * @return \Jaxon\Request\Request |
| 29 | 28 | */ |
@@ -46,7 +45,6 @@ discard block |
||
| 46 | 45 | * Return the javascript call to a generic function |
| 47 | 46 | * |
| 48 | 47 | * @param string $sName The function or method (with class) name |
| 49 | - * @param ... $xParams The parameters of the function or method |
|
| 50 | 48 | * |
| 51 | 49 | * @return \Jaxon\Request\Request |
| 52 | 50 | */ |
@@ -70,7 +68,6 @@ discard block |
||
| 70 | 68 | * @param integer $nItemsPerPage The number of items per page page |
| 71 | 69 | * @param integer $nCurrentPage The current page |
| 72 | 70 | * @param string $sMethod The name of function or a method prepended with its class name |
| 73 | - * @param ... $xParams The parameters of the function or method |
|
| 74 | 71 | * |
| 75 | 72 | * @return string the pagination links |
| 76 | 73 | */ |