@@ -515,6 +515,9 @@ discard block |
||
515 | 515 | $this->setDroptables(false); |
516 | 516 | } |
517 | 517 | |
518 | + /** |
|
519 | + * @param boolean $state |
|
520 | + */ |
|
518 | 521 | public function setDroptables($state) |
519 | 522 | { |
520 | 523 | $this->_isDroptables = $state; |
@@ -722,6 +725,9 @@ discard block |
||
722 | 725 | $_SESSION['result_msg'] = $result_code; |
723 | 726 | } |
724 | 727 | |
728 | +/** |
|
729 | + * @param string $dumpstring |
|
730 | + */ |
|
725 | 731 | function dumpSql(&$dumpstring) |
726 | 732 | { |
727 | 733 | global $modx; |
@@ -741,6 +747,9 @@ discard block |
||
741 | 747 | return true; |
742 | 748 | } |
743 | 749 | |
750 | +/** |
|
751 | + * @param string $dumpstring |
|
752 | + */ |
|
744 | 753 | function snapshot(&$dumpstring) |
745 | 754 | { |
746 | 755 | global $path; |
@@ -447,6 +447,10 @@ discard block |
||
447 | 447 | /** |
448 | 448 | * return XML parser, and possibly re-encoded source |
449 | 449 | * |
450 | + * @param string $source |
|
451 | + * @param string $out_enc |
|
452 | + * @param string|null $in_enc |
|
453 | + * @param boolean $detect |
|
450 | 454 | */ |
451 | 455 | function create_parser($source, $out_enc, $in_enc, $detect) { |
452 | 456 | if ( substr(phpversion(),0,1) == 5) { |
@@ -556,6 +560,9 @@ discard block |
||
556 | 560 | } |
557 | 561 | } |
558 | 562 | |
563 | + /** |
|
564 | + * @param integer $lvl |
|
565 | + */ |
|
559 | 566 | function error ($errormsg, $lvl=E_USER_WARNING) { |
560 | 567 | // append PHP's error message if track_errors enabled |
561 | 568 | if ( isset($php_errormsg) ) { |
@@ -591,6 +598,9 @@ discard block |
||
591 | 598 | define('CASE_LOWER', 0); |
592 | 599 | |
593 | 600 | |
601 | + /** |
|
602 | + * @param integer $case |
|
603 | + */ |
|
594 | 604 | function array_change_key_case($array, $case=CASE_LOWER) { |
595 | 605 | $output = array(); |
596 | 606 | switch($case){ |