@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | /** |
| 63 | 63 | * Instruct the request to use single quotes when generating the javascript |
| 64 | 64 | * |
| 65 | - * @return void |
|
| 65 | + * @return JsCall |
|
| 66 | 66 | */ |
| 67 | 67 | public function useSingleQuote() |
| 68 | 68 | { |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | /** |
| 74 | 74 | * Instruct the request to use single quotes when generating the javascript |
| 75 | 75 | * |
| 76 | - * @return void |
|
| 76 | + * @return JsCall |
|
| 77 | 77 | */ |
| 78 | 78 | public function useSingleQuotes() |
| 79 | 79 | { |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | * |
| 28 | 28 | * @param string $sName The command name |
| 29 | 29 | * @param array $aAttributes Associative array of attributes that will describe the command |
| 30 | - * @param mixed $mData The data to be associated with this command |
|
| 30 | + * @param string $mData The data to be associated with this command |
|
| 31 | 31 | * @param boolean $bRemoveEmpty If true, remove empty attributes |
| 32 | 32 | * |
| 33 | 33 | * @return Response |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | * @param string $sURL The relative or fully qualified URL |
| 82 | 82 | * @param integer $iDelay Number of seconds to delay before the redirect occurs |
| 83 | 83 | * |
| 84 | - * @return Response |
|
| 84 | + * @return JsCommands |
|
| 85 | 85 | */ |
| 86 | 86 | public function redirect($sURL, $iDelay = 0) |
| 87 | 87 | { |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | * The init code registers the "jquery" handler with the Jaxon javascript library, |
| 36 | 36 | * together with a function wich runs the javascript code generated by the plugin. |
| 37 | 37 | * |
| 38 | - * @return void |
|
| 38 | + * @return string |
|
| 39 | 39 | */ |
| 40 | 40 | public function getScript() |
| 41 | 41 | { |
@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | /** |
| 20 | 20 | * Return the singleton instance of the Jaxon/Jaxon class |
| 21 | 21 | * |
| 22 | - * @return Jaxon\Jaxon |
|
| 22 | + * @return Jaxon |
|
| 23 | 23 | */ |
| 24 | 24 | function jaxon() |
| 25 | 25 | { |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | /** |
| 44 | 44 | * Register a plugin |
| 45 | 45 | * |
| 46 | - * @param Plugin $xPlugin An instance of a plugin |
|
| 46 | + * @param Jaxon\Plugin\Plugin $xPlugin An instance of a plugin |
|
| 47 | 47 | * @param integer $nPriority The plugin priority, used to order the plugins |
| 48 | 48 | * |
| 49 | 49 | * @return void |
@@ -56,6 +56,7 @@ discard block |
||
| 56 | 56 | /** |
| 57 | 57 | * Get the single instance of the request factory, and set the class to call. |
| 58 | 58 | * |
| 59 | + * @param string $sClassName |
|
| 59 | 60 | * @return Jaxon\Request\Factory\RequestFactory |
| 60 | 61 | */ |
| 61 | 62 | function rq($sClassName = null) |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | * @param string $name The data name |
| 18 | 18 | * @param string $value The data value |
| 19 | 19 | * |
| 20 | - * @return void |
|
| 20 | + * @return Store |
|
| 21 | 21 | */ |
| 22 | 22 | public function with($name, $value) |
| 23 | 23 | { |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | * |
| 55 | 55 | * @param callable|null $xCallable The callback function |
| 56 | 56 | * |
| 57 | - * @return void |
|
| 57 | + * @return callable|null |
|
| 58 | 58 | */ |
| 59 | 59 | public function before($xCallable = null) |
| 60 | 60 | { |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | * |
| 71 | 71 | * @param callable|null $xCallable The callback function |
| 72 | 72 | * |
| 73 | - * @return void |
|
| 73 | + * @return callable|null |
|
| 74 | 74 | */ |
| 75 | 75 | public function after($xCallable = null) |
| 76 | 76 | { |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | * |
| 87 | 87 | * @param callable|null $xCallable The callback function |
| 88 | 88 | * |
| 89 | - * @return void |
|
| 89 | + * @return callable|null |
|
| 90 | 90 | */ |
| 91 | 91 | public function invalid($xCallable = null) |
| 92 | 92 | { |
@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | * |
| 103 | 103 | * @param callable|null $xCallable The callback function |
| 104 | 104 | * |
| 105 | - * @return void |
|
| 105 | + * @return callable|null |
|
| 106 | 106 | */ |
| 107 | 107 | public function error($xCallable = null) |
| 108 | 108 | { |
@@ -118,7 +118,7 @@ discard block |
||
| 118 | 118 | * |
| 119 | 119 | * @param callable|null $xCallable The callback function |
| 120 | 120 | * |
| 121 | - * @return void |
|
| 121 | + * @return callable|null |
|
| 122 | 122 | */ |
| 123 | 123 | public function init($xCallable = null) |
| 124 | 124 | { |
@@ -104,7 +104,7 @@ |
||
| 104 | 104 | { |
| 105 | 105 | throw new \Jaxon\Exception\Error($this->getValidatorMessage()); |
| 106 | 106 | } |
| 107 | - } |
|
| 107 | + } |
|
| 108 | 108 | } |
| 109 | 109 | |
| 110 | 110 | return $aTempFiles; |
@@ -458,7 +458,7 @@ discard block |
||
| 458 | 458 | /** |
| 459 | 459 | * Get the view renderer |
| 460 | 460 | * |
| 461 | - * @return Jaxon\Utils\View\Renderer |
|
| 461 | + * @return Utils\View\Renderer |
|
| 462 | 462 | */ |
| 463 | 463 | public function view() |
| 464 | 464 | { |
@@ -468,7 +468,7 @@ discard block |
||
| 468 | 468 | /** |
| 469 | 469 | * Get the session manager |
| 470 | 470 | * |
| 471 | - * @return Jaxon\Contracts\Session |
|
| 471 | + * @return Contracts\Session |
|
| 472 | 472 | */ |
| 473 | 473 | public function session() |
| 474 | 474 | { |
@@ -137,6 +137,7 @@ discard block |
||
| 137 | 137 | * This is the pre-request processing callback passed to the Jaxon library. |
| 138 | 138 | * |
| 139 | 139 | * @param boolean &$bEndRequest if set to true, the request processing is interrupted. |
| 140 | + * @param boolean $bEndRequest |
|
| 140 | 141 | * |
| 141 | 142 | * @return Jaxon\Response\Response the Jaxon response |
| 142 | 143 | */ |
@@ -165,6 +166,7 @@ discard block |
||
| 165 | 166 | /** |
| 166 | 167 | * This callback is called whenever an invalid request is processed. |
| 167 | 168 | * |
| 169 | + * @param string $sMessage |
|
| 168 | 170 | * @return Jaxon\Response\Response the Jaxon response |
| 169 | 171 | */ |
| 170 | 172 | public function onInvalid($sMessage) |