@@ -37,6 +37,9 @@ discard block |
||
37 | 37 | * @param array of JPSpan_HandleDescription objects |
38 | 38 | * @param string URL of the server |
39 | 39 | * @param string encoding to use when making requests (e.g. xml or php) |
40 | + * @param JPSpan_PostOffice_Generator $ClientGenerator |
|
41 | + * @param string $serverUrl |
|
42 | + * @param string $encoding |
|
40 | 43 | * @access public |
41 | 44 | * @todo This method needs to die - just setup the ClientGenerator object |
42 | 45 | */ |
@@ -87,6 +90,7 @@ discard block |
||
87 | 90 | /** |
88 | 91 | * Invokes code generator |
89 | 92 | * @param JPSpan_CodeWriter |
93 | + * @param JPSpan_CodeWriter $Code |
|
90 | 94 | * @return void |
91 | 95 | * @access public |
92 | 96 | */ |
@@ -222,6 +222,7 @@ discard block |
||
222 | 222 | /** |
223 | 223 | * Load a Javascript script from a string |
224 | 224 | * @param string source code |
225 | + * @param string $name |
|
225 | 226 | * @return void |
226 | 227 | * @access public |
227 | 228 | */ |
@@ -288,6 +289,7 @@ discard block |
||
288 | 289 | /** |
289 | 290 | * Load a Javascript file |
290 | 291 | * @param string full path to file |
292 | + * @param string $file |
|
291 | 293 | * @return void |
292 | 294 | * @access protected |
293 | 295 | */ |
@@ -442,6 +444,7 @@ discard block |
||
442 | 444 | |
443 | 445 | /** |
444 | 446 | * @param JPSpan_Include_File |
447 | + * @param JPSpan_Include_File $Handler |
|
445 | 448 | * @access protected |
446 | 449 | */ |
447 | 450 | function JPSpan_Include_Parser(& $Handler) { |
@@ -91,8 +91,6 @@ discard block |
||
91 | 91 | * regular expression separated with the |
92 | 92 | * "or" operator. Caches the regex. |
93 | 93 | * Will automatically escape (, ) and / tokens. |
94 | - * @param array $patterns List of patterns in order. |
|
95 | - * @access private |
|
96 | 94 | */ |
97 | 95 | function _getCompoundedRegex() { |
98 | 96 | if ($this->_regex == null) { |
@@ -190,7 +188,7 @@ discard block |
||
190 | 188 | /** |
191 | 189 | * Sets up the lexer in case insensitive matching |
192 | 190 | * by default. |
193 | - * @param JPSpan_Parser $parser Handling strategy by |
|
191 | + * @param JPSpan_Include_File $parser Handling strategy by |
|
194 | 192 | * reference. |
195 | 193 | * @param string $start Starting handler. |
196 | 194 | * @param boolean $case True for case sensitive. |
@@ -56,6 +56,7 @@ discard block |
||
56 | 56 | /** |
57 | 57 | * Add a value to the request info. |
58 | 58 | * @param string key ('class', 'method' or 'args') |
59 | + * @param string $key |
|
59 | 60 | * @return void |
60 | 61 | * @access protected |
61 | 62 | */ |
@@ -66,6 +67,7 @@ discard block |
||
66 | 67 | /** |
67 | 68 | * Add a value to the response info. |
68 | 69 | * @param string key ('payload') |
70 | + * @param string $key |
|
69 | 71 | * @return void |
70 | 72 | * @access protected |
71 | 73 | */ |
@@ -107,6 +109,7 @@ discard block |
||
107 | 109 | * @param string error message |
108 | 110 | * @param string file where error was triggered |
109 | 111 | * @param int line number in file where error was triggered |
112 | + * @param string $file |
|
110 | 113 | * @return void |
111 | 114 | * @access protected |
112 | 115 | */ |
@@ -30,6 +30,7 @@ discard block |
||
30 | 30 | /** |
31 | 31 | * Returns the data, making sure they are unserialized |
32 | 32 | * @access public |
33 | + * @param string $encoding |
|
33 | 34 | * @return mixed |
34 | 35 | * @static |
35 | 36 | */ |
@@ -52,6 +53,7 @@ discard block |
||
52 | 53 | * Returns the data, making sure they are unserialized and removing magic |
53 | 54 | * quotes if enabled |
54 | 55 | * @access public |
56 | + * @param string $encoding |
|
55 | 57 | * @return mixed |
56 | 58 | * @static |
57 | 59 | */ |
@@ -91,6 +93,7 @@ discard block |
||
91 | 93 | * Returns the data, making sure they are unserialized and removing magic |
92 | 94 | * quotes if enabled |
93 | 95 | * @access public |
96 | + * @param string $encoding |
|
94 | 97 | * @return mixed |
95 | 98 | * @static |
96 | 99 | */ |
@@ -18,6 +18,7 @@ |
||
18 | 18 | * Scheduled to be replaced eventually with something using the Lexer |
19 | 19 | * @see http://pupius.co.uk/download/php_scripts/preview/script-compress.phps/ |
20 | 20 | * @param string Javascript |
21 | + * @param string $script |
|
21 | 22 | * @return string Javascript (compressed) |
22 | 23 | * @access public |
23 | 24 | * @static |
@@ -189,6 +189,7 @@ |
||
189 | 189 | * Triggers code generation for child data structure then wraps |
190 | 190 | * in anonymous function |
191 | 191 | * @param CodeWriter |
192 | + * @param JPSpan_CodeWriter $code |
|
192 | 193 | * @return void |
193 | 194 | * @access protected |
194 | 195 | */ |
@@ -149,7 +149,7 @@ |
||
149 | 149 | |
150 | 150 | /** |
151 | 151 | * Start serving (override in subclasses) |
152 | - * @return boolean FALSE if serve failed |
|
152 | + * @return boolean|null FALSE if serve failed |
|
153 | 153 | * @access public |
154 | 154 | * @abstact |
155 | 155 | */ |
@@ -64,6 +64,7 @@ |
||
64 | 64 | * Places a value in the global _JPSpan_UNSERIALIZER_MAP variable |
65 | 65 | * @param string class name |
66 | 66 | * @param string (optional) script include - your job to get path right! |
67 | + * @param string $class |
|
67 | 68 | * @return void |
68 | 69 | * @access public |
69 | 70 | * @static |