@@ -434,8 +434,8 @@ |
||
| 434 | 434 | /** |
| 435 | 435 | * Set table data from a database result object |
| 436 | 436 | * |
| 437 | - * @param CI_DB_result $db_result Database result object |
|
| 438 | 437 | * @return void |
| 438 | + * @param CI_DB_result $object |
|
| 439 | 439 | */ |
| 440 | 440 | protected function _set_from_db_result($object) |
| 441 | 441 | { |
@@ -280,6 +280,7 @@ discard block |
||
| 280 | 280 | * |
| 281 | 281 | * @param string |
| 282 | 282 | * @param string |
| 283 | + * @param string $data |
|
| 283 | 284 | * @return bool |
| 284 | 285 | */ |
| 285 | 286 | public function process($url, $data) |
@@ -423,6 +424,7 @@ discard block |
||
| 423 | 424 | * Convert Reserved XML characters to Entities |
| 424 | 425 | * |
| 425 | 426 | * @param string |
| 427 | + * @param string $str |
|
| 426 | 428 | * @return string |
| 427 | 429 | */ |
| 428 | 430 | public function convert_xml($str) |
@@ -531,6 +533,7 @@ discard block |
||
| 531 | 533 | * Set error message |
| 532 | 534 | * |
| 533 | 535 | * @param string |
| 536 | + * @param string $msg |
|
| 534 | 537 | * @return void |
| 535 | 538 | */ |
| 536 | 539 | public function set_error($msg) |
@@ -286,7 +286,6 @@ |
||
| 286 | 286 | /** |
| 287 | 287 | * Constructor |
| 288 | 288 | * |
| 289 | - * @param array $props |
|
| 290 | 289 | * @return void |
| 291 | 290 | */ |
| 292 | 291 | public function __construct($config = array()) |
@@ -249,7 +249,7 @@ discard block |
||
| 249 | 249 | /** |
| 250 | 250 | * Compile the User Agent Data |
| 251 | 251 | * |
| 252 | - * @return bool |
|
| 252 | + * @return boolean|null |
|
| 253 | 253 | */ |
| 254 | 254 | protected function _compile_data() |
| 255 | 255 | { |
@@ -585,7 +585,7 @@ discard block |
||
| 585 | 585 | /** |
| 586 | 586 | * Get the referrer |
| 587 | 587 | * |
| 588 | - * @return bool |
|
| 588 | + * @return string |
|
| 589 | 589 | */ |
| 590 | 590 | public function referrer() |
| 591 | 591 | { |
@@ -446,7 +446,7 @@ discard block |
||
| 446 | 446 | * Values Parsing |
| 447 | 447 | * |
| 448 | 448 | * @param mixed $value |
| 449 | - * @return object |
|
| 449 | + * @return XML_RPC_Values |
|
| 450 | 450 | */ |
| 451 | 451 | public function values_parsing($value) |
| 452 | 452 | { |
@@ -530,7 +530,7 @@ discard block |
||
| 530 | 530 | * |
| 531 | 531 | * @param int $number |
| 532 | 532 | * @param string $message |
| 533 | - * @return object |
|
| 533 | + * @return XML_RPC_Response |
|
| 534 | 534 | */ |
| 535 | 535 | public function send_error_message($number, $message) |
| 536 | 536 | { |
@@ -543,7 +543,7 @@ discard block |
||
| 543 | 543 | * Send Response for Server Request |
| 544 | 544 | * |
| 545 | 545 | * @param array $response |
| 546 | - * @return object |
|
| 546 | + * @return XML_RPC_Response |
|
| 547 | 547 | */ |
| 548 | 548 | public function send_response($response) |
| 549 | 549 | { |
@@ -1116,7 +1116,7 @@ discard block |
||
| 1116 | 1116 | * Parse External XML-RPC Server's Response |
| 1117 | 1117 | * |
| 1118 | 1118 | * @param resource |
| 1119 | - * @return object |
|
| 1119 | + * @return XML_RPC_Response |
|
| 1120 | 1120 | */ |
| 1121 | 1121 | public function parseResponse($fp) |
| 1122 | 1122 | { |
@@ -1672,7 +1672,7 @@ discard block |
||
| 1672 | 1672 | /** |
| 1673 | 1673 | * Constructor |
| 1674 | 1674 | * |
| 1675 | - * @param mixed $val |
|
| 1675 | + * @param integer $val |
|
| 1676 | 1676 | * @param string $type |
| 1677 | 1677 | * @return void |
| 1678 | 1678 | */ |
@@ -1706,6 +1706,7 @@ discard block |
||
| 1706 | 1706 | * |
| 1707 | 1707 | * @param scalar |
| 1708 | 1708 | * @param string |
| 1709 | + * @param integer $val |
|
| 1709 | 1710 | * @return int |
| 1710 | 1711 | */ |
| 1711 | 1712 | public function addScalar($val, $type = 'string') |
@@ -1773,6 +1774,7 @@ discard block |
||
| 1773 | 1774 | * Add struct value |
| 1774 | 1775 | * |
| 1775 | 1776 | * @param object |
| 1777 | + * @param integer $vals |
|
| 1776 | 1778 | * @return int |
| 1777 | 1779 | */ |
| 1778 | 1780 | public function addStruct($vals) |
@@ -311,6 +311,7 @@ discard block |
||
| 311 | 311 | * Executes the Method |
| 312 | 312 | * |
| 313 | 313 | * @param object |
| 314 | + * @param XML_RPC_Message $m |
|
| 314 | 315 | * @return mixed |
| 315 | 316 | */ |
| 316 | 317 | protected function _execute($m) |
@@ -419,7 +420,7 @@ discard block |
||
| 419 | 420 | * Server Function: List Methods |
| 420 | 421 | * |
| 421 | 422 | * @param mixed |
| 422 | - * @return object |
|
| 423 | + * @return XML_RPC_Response |
|
| 423 | 424 | */ |
| 424 | 425 | public function listMethods($m) |
| 425 | 426 | { |
@@ -446,7 +447,7 @@ discard block |
||
| 446 | 447 | * Server Function: Return Signature for Method |
| 447 | 448 | * |
| 448 | 449 | * @param mixed |
| 449 | - * @return object |
|
| 450 | + * @return XML_RPC_Response |
|
| 450 | 451 | */ |
| 451 | 452 | public function methodSignature($m) |
| 452 | 453 | { |
@@ -486,7 +487,7 @@ discard block |
||
| 486 | 487 | * Server Function: Doc String for Method |
| 487 | 488 | * |
| 488 | 489 | * @param mixed |
| 489 | - * @return object |
|
| 490 | + * @return XML_RPC_Response |
|
| 490 | 491 | */ |
| 491 | 492 | public function methodHelp($m) |
| 492 | 493 | { |
@@ -552,7 +553,7 @@ discard block |
||
| 552 | 553 | * Multi-call Function: Error Handling |
| 553 | 554 | * |
| 554 | 555 | * @param mixed |
| 555 | - * @return object |
|
| 556 | + * @return XML_RPC_Values |
|
| 556 | 557 | */ |
| 557 | 558 | public function multicall_error($err) |
| 558 | 559 | { |
@@ -571,7 +572,7 @@ discard block |
||
| 571 | 572 | * Multi-call Function: Processes method |
| 572 | 573 | * |
| 573 | 574 | * @param mixed |
| 574 | - * @return object |
|
| 575 | + * @return XML_RPC_Values |
|
| 575 | 576 | */ |
| 576 | 577 | public function do_multicall($call) |
| 577 | 578 | { |
@@ -148,7 +148,7 @@ discard block |
||
| 148 | 148 | * If this is a newly created file/dir, we will set the time to 'now' |
| 149 | 149 | * |
| 150 | 150 | * @param string $dir path to file |
| 151 | - * @return array filemtime/filemdate |
|
| 151 | + * @return string filemtime/filemdate |
|
| 152 | 152 | */ |
| 153 | 153 | protected function _get_mod_time($dir) |
| 154 | 154 | { |
@@ -219,7 +219,7 @@ discard block |
||
| 219 | 219 | * in the filename it will be placed within a directory. Make |
| 220 | 220 | * sure you use add_dir() first to create the folder. |
| 221 | 221 | * |
| 222 | - * @param mixed $filepath A single filepath or an array of file => data pairs |
|
| 222 | + * @param string $filepath A single filepath or an array of file => data pairs |
|
| 223 | 223 | * @param string $data Single file contents |
| 224 | 224 | * @return void |
| 225 | 225 | */ |
@@ -1237,6 +1237,7 @@ |
||
| 1237 | 1237 | * Valid Email |
| 1238 | 1238 | * |
| 1239 | 1239 | * @param string |
| 1240 | + * @param string $str |
|
| 1240 | 1241 | * @return bool |
| 1241 | 1242 | */ |
| 1242 | 1243 | public function valid_email($str) |
@@ -77,7 +77,7 @@ |
||
| 77 | 77 | * Create database |
| 78 | 78 | * |
| 79 | 79 | * @param string $db_name |
| 80 | - * @return string |
|
| 80 | + * @return boolean |
|
| 81 | 81 | */ |
| 82 | 82 | public function create_database($db_name) |
| 83 | 83 | { |