@@ -374,6 +374,11 @@ discard block |
||
| 374 | 374 | } |
| 375 | 375 | |
| 376 | 376 | // Function which returns the value based on result type (array / ADODB ResultSet) |
| 377 | + |
|
| 378 | + /** |
|
| 379 | + * @param integer $index |
|
| 380 | + * @param string $columnname |
|
| 381 | + */ |
|
| 377 | 382 | private function resolve_query_result_value($result, $index, $columnname) |
| 378 | 383 | { |
| 379 | 384 | $adb = PearDatabase::getInstance(); |
@@ -633,7 +638,7 @@ discard block |
||
| 633 | 638 | } |
| 634 | 639 | |
| 635 | 640 | /** Function to delete a record in the specifed table |
| 636 | - * @param $table_name -- table name:: Type varchar |
|
| 641 | + * @param string $table_name -- table name:: Type varchar |
|
| 637 | 642 | * The function will delete a record .The id is obtained from the class variable $this->id and the columnname got from $this->tab_name_index[$table_name] |
| 638 | 643 | */ |
| 639 | 644 | public function deleteRelation($table_name) |
@@ -817,6 +822,7 @@ discard block |
||
| 817 | 822 | |
| 818 | 823 | /** Function to saves the values in all the tables mentioned in the class variable $tab_name for the specified module |
| 819 | 824 | * @param $module -- module:: Type varchar |
| 825 | + * @param string $module_name |
|
| 820 | 826 | */ |
| 821 | 827 | public function save($module_name, $fileid = '') |
| 822 | 828 | { |
@@ -2562,10 +2568,10 @@ discard block |
||
| 2562 | 2568 | |
| 2563 | 2569 | /** |
| 2564 | 2570 | * |
| 2565 | - * @param <type> $module |
|
| 2566 | - * @param <type> $user |
|
| 2571 | + * @param Users $user |
|
| 2567 | 2572 | * @param <type> $parentRole |
| 2568 | 2573 | * @param <type> $userGroups |
| 2574 | + * @param string $tableName |
|
| 2569 | 2575 | */ |
| 2570 | 2576 | protected function setupTemporaryTable($tableName, $tabId, $user, $parentRole, $userGroups) |
| 2571 | 2577 | { |