@@ -447,7 +447,7 @@ |
||
| 447 | 447 | * |
| 448 | 448 | * @param array $headers The HTTP headers |
| 449 | 449 | * @param string $data unprocessed request data from client |
| 450 | - * @return mixed value of the message, decoded into a PHP type |
|
| 450 | + * @return false|null value of the message, decoded into a PHP type |
|
| 451 | 451 | * @access private |
| 452 | 452 | */ |
| 453 | 453 | function parseRequest($headers, $data) { |
@@ -611,6 +611,7 @@ discard block |
||
| 611 | 611 | * @param integer $id - accountid |
| 612 | 612 | * @param array $parent_accounts - Array of all the parent accounts |
| 613 | 613 | * returns All the parent accounts of the given accountid in array format |
| 614 | + * @param integer[] $encountered_accounts |
|
| 614 | 615 | */ |
| 615 | 616 | public function __getParentAccounts($id, &$parent_accounts, &$encountered_accounts, $depthBase = 0) |
| 616 | 617 | { |
@@ -673,7 +674,7 @@ discard block |
||
| 673 | 674 | * Function to Recursively get all the child accounts of a given Account |
| 674 | 675 | * @param integer $id - accountid |
| 675 | 676 | * @param array $child_accounts - Array of all the child accounts |
| 676 | - * @param integer $depth - Depth at which the particular account has to be placed in the hierarchy |
|
| 677 | + * @param integer $depthBase - Depth at which the particular account has to be placed in the hierarchy |
|
| 677 | 678 | * returns All the child accounts of the given accountid in array format |
| 678 | 679 | */ |
| 679 | 680 | public function __getChildAccounts($id, &$child_accounts, $depthBase) |
@@ -179,7 +179,7 @@ discard block |
||
| 179 | 179 | } |
| 180 | 180 | |
| 181 | 181 | /** Function to insert values in vtiger_activity_remainder table for the specified module, |
| 182 | - * @param $table_name -- table name:: Type varchar |
|
| 182 | + * @param string $table_name -- table name:: Type varchar |
|
| 183 | 183 | * @param $module -- module:: Type varchar |
| 184 | 184 | */ |
| 185 | 185 | public function insertIntoReminderTable($table_name, $module, $recurid) |
@@ -213,7 +213,7 @@ discard block |
||
| 213 | 213 | |
| 214 | 214 | // Code included by Jaguar - starts |
| 215 | 215 | /** Function to insert values in vtiger_recurringevents table for the specified tablename,module |
| 216 | - * @param $recurObj -- Recurring Object:: Type varchar |
|
| 216 | + * @param RecurringType $recurObj -- Recurring Object:: Type varchar |
|
| 217 | 217 | */ |
| 218 | 218 | public function insertIntoRecurringTable(& $recurObj) |
| 219 | 219 | { |
@@ -710,7 +710,7 @@ discard block |
||
| 710 | 710 | |
| 711 | 711 | /** |
| 712 | 712 | * Function to get calendar query for outlookplugin |
| 713 | - * @param string $username - User name * return string $query - sql query */ |
|
| 713 | + * @param string $user_name - User name * return string $query - sql query */ |
|
| 714 | 714 | public function get_calendarsforol($user_name) |
| 715 | 715 | { |
| 716 | 716 | $adb = PearDatabase::getInstance(); |
@@ -903,6 +903,9 @@ discard block |
||
| 903 | 903 | return $query; |
| 904 | 904 | } |
| 905 | 905 | |
| 906 | + /** |
|
| 907 | + * @param null|type $tabId |
|
| 908 | + */ |
|
| 906 | 909 | protected function setupTemporaryTable($tableName, $tabId, $user, $parentRole, $userGroups) |
| 907 | 910 | { |
| 908 | 911 | $module = null; |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | * @param $userid -- The user Id:: Type integer |
| 57 | 57 | * @param $from_datetime -- The start date Obj :: Type Array |
| 58 | 58 | * @param $to_datetime -- The end date Obj :: Type Array |
| 59 | - * @param $view -- The calendar view :: Type String |
|
| 59 | + * @param string $view -- The calendar view :: Type String |
|
| 60 | 60 | * @returns $list :: Type Array |
| 61 | 61 | */ |
| 62 | 62 | public function readAppointment($userid, &$from_datetime, &$to_datetime, $view) |
@@ -286,6 +286,9 @@ discard block |
||
| 286 | 286 | return ($a->start_time->ts < $b->start_time->ts) ? -1 : 1; |
| 287 | 287 | } |
| 288 | 288 | |
| 289 | +/** |
|
| 290 | + * @param string $fldname |
|
| 291 | + */ |
|
| 289 | 292 | function getRoleBasesdPickList($fldname, $exist_val) |
| 290 | 293 | { |
| 291 | 294 | $adb = PearDatabase::getInstance(); |
@@ -253,7 +253,7 @@ |
||
| 253 | 253 | |
| 254 | 254 | /** |
| 255 | 255 | * this function returns the days in a month in an array format |
| 256 | - * @param object $date_time - the date time object for the current month |
|
| 256 | + * @param vt_DateTime|null $date_time - the date time object for the current month |
|
| 257 | 257 | * @return array $result - the array containing current months days information |
| 258 | 258 | */ |
| 259 | 259 | function getCalendarDaysInMonth($date_time) |
@@ -384,7 +384,7 @@ discard block |
||
| 384 | 384 | |
| 385 | 385 | /** |
| 386 | 386 | * |
| 387 | - * @return Date |
|
| 387 | + * @return string |
|
| 388 | 388 | */ |
| 389 | 389 | public function get_DB_formatted_date() |
| 390 | 390 | { |
@@ -529,10 +529,6 @@ discard block |
||
| 529 | 529 | * This should be used whereever possible |
| 530 | 530 | * |
| 531 | 531 | * @param integer $index - number between 0 to 42 |
| 532 | - * @param string $day - date |
|
| 533 | - * @param string $month - month |
|
| 534 | - * @param string $year - year |
|
| 535 | - * return vt_DateTime obj $datetimevalue |
|
| 536 | 532 | */ |
| 537 | 533 | public function getThisMonthsDayByIndex($index) |
| 538 | 534 | { |
@@ -119,8 +119,6 @@ discard block |
||
| 119 | 119 | |
| 120 | 120 | // Mike Crowe Mod --------------------------------------------------------Default ordering for us |
| 121 | 121 | /** Function to get the number of Contacts assigned to a particular User. |
| 122 | - * @param varchar $user name - Assigned to User |
|
| 123 | - * Returns the count of contacts assigned to user. |
|
| 124 | 122 | */ |
| 125 | 123 | public function getCount($user_name) |
| 126 | 124 | { |
@@ -154,7 +152,7 @@ discard block |
||
| 154 | 152 | } |
| 155 | 153 | |
| 156 | 154 | /** Function to process list query for a given query |
| 157 | - * @param $query |
|
| 155 | + * @param string $query |
|
| 158 | 156 | * Returns the results of query in array format |
| 159 | 157 | */ |
| 160 | 158 | public function process_list_query1($query) |
@@ -195,7 +193,7 @@ discard block |
||
| 195 | 193 | } |
| 196 | 194 | |
| 197 | 195 | /** Function to process list query for Plugin with Security Parameters for a given query |
| 198 | - * @param $query |
|
| 196 | + * @param string $query |
|
| 199 | 197 | * Returns the results of query in array format |
| 200 | 198 | */ |
| 201 | 199 | public function plugin_process_list_query($query) |
@@ -550,7 +550,7 @@ discard block |
||
| 550 | 550 | |
| 551 | 551 | /** |
| 552 | 552 | * Function which will give condition list for date fields |
| 553 | - * @return array of std filter conditions |
|
| 553 | + * @return string[] of std filter conditions |
|
| 554 | 554 | */ |
| 555 | 555 | public function getStdFilterConditions() |
| 556 | 556 | { |
@@ -991,7 +991,7 @@ discard block |
||
| 991 | 991 | * @param $tablename :: type string |
| 992 | 992 | * @param $fieldname :: type string |
| 993 | 993 | * @param $comparator :: type string |
| 994 | - * @param $value :: type string |
|
| 994 | + * @param string $value :: type string |
|
| 995 | 995 | * @returns $value as a string in the following format |
| 996 | 996 | * $tablename.$fieldname comparator |
| 997 | 997 | */ |
@@ -519,6 +519,9 @@ discard block |
||
| 519 | 519 | return $query; |
| 520 | 520 | } |
| 521 | 521 | |
| 522 | + /** |
|
| 523 | + * @param string $tableName |
|
| 524 | + */ |
|
| 522 | 525 | protected function setupTemporaryTable($tableName, $tabId, $user, $parentRole, $userGroups) |
| 523 | 526 | { |
| 524 | 527 | $module = null; |
@@ -619,6 +622,9 @@ discard block |
||
| 619 | 622 | } |
| 620 | 623 | |
| 621 | 624 | //added for attach the generated pdf with email |
| 625 | +/** |
|
| 626 | + * @param Emails $obj |
|
| 627 | + */ |
|
| 622 | 628 | function pdfAttach($obj, $module, $file_name, $id) |
| 623 | 629 | { |
| 624 | 630 | $log = vglobal('log'); |