@@ -485,6 +485,8 @@ |
||
| 485 | 485 | /** |
| 486 | 486 | * |
| 487 | 487 | * @access private |
| 488 | + * @param string $id |
|
| 489 | + * @param string $data |
|
| 488 | 490 | */ |
| 489 | 491 | function _memoryCacheAdd($id, $data) |
| 490 | 492 | { |
@@ -224,6 +224,9 @@ discard block |
||
| 224 | 224 | return $v_block; |
| 225 | 225 | } |
| 226 | 226 | |
| 227 | + /** |
|
| 228 | + * @param double $p_len |
|
| 229 | + */ |
|
| 227 | 230 | private function _jumpBlock($p_len=null) |
| 228 | 231 | { |
| 229 | 232 | if (is_resource($this->_file)) { |
@@ -317,6 +320,12 @@ discard block |
||
| 317 | 320 | return true; |
| 318 | 321 | } |
| 319 | 322 | |
| 323 | + /** |
|
| 324 | + * @param string $p_path |
|
| 325 | + * @param string $p_mode |
|
| 326 | + * @param integer $p_file_list |
|
| 327 | + * @param string $p_remove_path |
|
| 328 | + */ |
|
| 320 | 329 | protected function _extractList($p_path, &$p_list_detail, $p_mode, |
| 321 | 330 | $p_file_list, $p_remove_path) |
| 322 | 331 | { |
@@ -38,6 +38,7 @@ |
||
| 38 | 38 | /** |
| 39 | 39 | * Writes a string. |
| 40 | 40 | * @param string string to be written |
| 41 | + * @param string $str |
|
| 41 | 42 | */ |
| 42 | 43 | public function write($str) |
| 43 | 44 | { |
@@ -49,6 +49,7 @@ |
||
| 49 | 49 | |
| 50 | 50 | /** |
| 51 | 51 | * @param string id of this service |
| 52 | + * @param string $value |
|
| 52 | 53 | */ |
| 53 | 54 | public function setID($value) |
| 54 | 55 | { |
@@ -98,6 +98,7 @@ |
||
| 98 | 98 | * @param integer level filter |
| 99 | 99 | * @param array category filter |
| 100 | 100 | * @param array control filter |
| 101 | + * @param integer $levels |
|
| 101 | 102 | * @return array list of messages. Each array elements represents one message |
| 102 | 103 | * with the following structure: |
| 103 | 104 | * array( |
@@ -105,6 +105,9 @@ |
||
| 105 | 105 | * @param string RPC server URL |
| 106 | 106 | * @param array payload data |
| 107 | 107 | * @param string request mime type |
| 108 | + * @param string $serverUrl |
|
| 109 | + * @param string $mimeType |
|
| 110 | + * @return string |
|
| 108 | 111 | */ |
| 109 | 112 | protected function performRequest($serverUrl, $payload, $mimeType) |
| 110 | 113 | { |
@@ -60,6 +60,7 @@ discard block |
||
| 60 | 60 | * Constructor, create a new date time formatter. |
| 61 | 61 | * @param string formatting pattern. |
| 62 | 62 | * @param string pattern and value charset |
| 63 | + * @param string $pattern |
|
| 63 | 64 | */ |
| 64 | 65 | public function __construct($pattern, $charset='UTF-8') |
| 65 | 66 | { |
@@ -93,6 +94,7 @@ discard block |
||
| 93 | 94 | |
| 94 | 95 | /** |
| 95 | 96 | * @param string formatting charset. |
| 97 | + * @param string $charset |
|
| 96 | 98 | */ |
| 97 | 99 | public function setCharset($charset) |
| 98 | 100 | { |
@@ -313,6 +315,7 @@ discard block |
||
| 313 | 315 | |
| 314 | 316 | /** |
| 315 | 317 | * Calculate the length of a string, may be consider iconv_strlen? |
| 318 | + * @param string $string |
|
| 316 | 319 | */ |
| 317 | 320 | private function length($string) |
| 318 | 321 | { |
@@ -338,6 +341,9 @@ discard block |
||
| 338 | 341 | |
| 339 | 342 | /** |
| 340 | 343 | * Returns true if char at position equals a particular char. |
| 344 | + * @param string $string |
|
| 345 | + * @param integer $pos |
|
| 346 | + * @param string $char |
|
| 341 | 347 | */ |
| 342 | 348 | private function charEqual($string, $pos, $char) |
| 343 | 349 | { |
@@ -350,6 +356,10 @@ discard block |
||
| 350 | 356 | * @param int starting position |
| 351 | 357 | * @param int minimum integer length |
| 352 | 358 | * @param int maximum integer length |
| 359 | + * @param string $str |
|
| 360 | + * @param integer $i |
|
| 361 | + * @param integer|null $minlength |
|
| 362 | + * @param integer|null $maxlength |
|
| 353 | 363 | * @return string integer portion of the string, null otherwise |
| 354 | 364 | */ |
| 355 | 365 | private function getInteger($str,$i,$minlength,$maxlength) |
@@ -55,6 +55,9 @@ |
||
| 55 | 55 | return self::$_output; |
| 56 | 56 | } |
| 57 | 57 | |
| 58 | + /** |
|
| 59 | + * @param integer $level |
|
| 60 | + */ |
|
| 58 | 61 | private static function dumpInternal($var,$level) |
| 59 | 62 | { |
| 60 | 63 | switch(gettype($var)) |
@@ -73,6 +73,9 @@ discard block |
||
| 73 | 73 | |
| 74 | 74 | // -- Protected Instance Methods --------------------------------------------- |
| 75 | 75 | |
| 76 | + /** |
|
| 77 | + * @param integer $d |
|
| 78 | + */ |
|
| 76 | 79 | protected function action($d) { |
| 77 | 80 | switch($d) { |
| 78 | 81 | case 1: |
@@ -132,6 +135,9 @@ discard block |
||
| 132 | 135 | } |
| 133 | 136 | } |
| 134 | 137 | |
| 138 | + /** |
|
| 139 | + * @return string |
|
| 140 | + */ |
|
| 135 | 141 | protected function get() { |
| 136 | 142 | $c = $this->lookAhead; |
| 137 | 143 | $this->lookAhead = null; |
@@ -156,6 +162,9 @@ discard block |
||
| 156 | 162 | return ' '; |
| 157 | 163 | } |
| 158 | 164 | |
| 165 | + /** |
|
| 166 | + * @param string $c |
|
| 167 | + */ |
|
| 159 | 168 | protected function isAlphaNum($c) { |
| 160 | 169 | return ord($c) > 126 || $c === '\\' || preg_match('/^[\w\$]$/', $c) === 1; |
| 161 | 170 | } |