@@ -68,6 +68,9 @@ discard block |
||
| 68 | 68 | * Returns array of host and port. If port is omitted, returns $default |
| 69 | 69 | */ |
| 70 | 70 | |
| 71 | + /** |
|
| 72 | + * @param string $host |
|
| 73 | + */ |
|
| 71 | 74 | function get_host_port( $host, $default = false ) |
| 72 | 75 | { |
| 73 | 76 | $port = $default; |
@@ -218,6 +221,9 @@ discard block |
||
| 218 | 221 | * Return the the query as a result set - see docs for more details |
| 219 | 222 | */ |
| 220 | 223 | |
| 224 | + /** |
|
| 225 | + * @param string $output |
|
| 226 | + */ |
|
| 221 | 227 | function get_results($query=null, $output = OBJECT) |
| 222 | 228 | { |
| 223 | 229 | |
@@ -296,6 +302,10 @@ discard block |
||
| 296 | 302 | * store_cache |
| 297 | 303 | */ |
| 298 | 304 | |
| 305 | + /** |
|
| 306 | + * @param string $query |
|
| 307 | + * @param boolean $is_insert |
|
| 308 | + */ |
|
| 299 | 309 | function store_cache($query,$is_insert) |
| 300 | 310 | { |
| 301 | 311 | |
@@ -332,6 +342,9 @@ discard block |
||
| 332 | 342 | * get_cache |
| 333 | 343 | */ |
| 334 | 344 | |
| 345 | + /** |
|
| 346 | + * @param string $query |
|
| 347 | + */ |
|
| 335 | 348 | function get_cache($query) |
| 336 | 349 | { |
| 337 | 350 | |
@@ -561,6 +574,9 @@ discard block |
||
| 561 | 574 | return round($this->timer_get_cur() - $this->timers[$timer_name],2); |
| 562 | 575 | } |
| 563 | 576 | |
| 577 | + /** |
|
| 578 | + * @param integer $timer_name |
|
| 579 | + */ |
|
| 564 | 580 | function timer_update_global($timer_name) |
| 565 | 581 | { |
| 566 | 582 | if ( $this->do_profile ) |