@@ -41,7 +41,7 @@ |
||
41 | 41 | * |
42 | 42 | * @param Vtiger_Widget_Model $widgetModel |
43 | 43 | * |
44 | - * @return array range ['2018-03-02','2018-03-04'] |
|
44 | + * @return string[] range ['2018-03-02','2018-03-04'] |
|
45 | 45 | */ |
46 | 46 | public static function getDefaultDateRange($widgetModel) |
47 | 47 | { |
@@ -13,7 +13,7 @@ |
||
13 | 13 | * Function to get search params in address listview. |
14 | 14 | * |
15 | 15 | * @param int $owner number id of user |
16 | - * @param array $time |
|
16 | + * @param string $time |
|
17 | 17 | * |
18 | 18 | * @return string |
19 | 19 | */ |
@@ -224,6 +224,7 @@ |
||
224 | 224 | /** |
225 | 225 | * Function returns all the comment count. |
226 | 226 | * |
227 | + * @param integer $recordId |
|
227 | 228 | * @return <int> |
228 | 229 | */ |
229 | 230 | public static function getCommentsCount($recordId) |
@@ -32,6 +32,9 @@ discard block |
||
32 | 32 | } |
33 | 33 | } |
34 | 34 | |
35 | + /** |
|
36 | + * @param string $moduleName |
|
37 | + */ |
|
35 | 38 | public function getSupportedFileExtensionsDescription($moduleName) |
36 | 39 | { |
37 | 40 | $supportedFileTypes = self::getSupportedFileExtensions($moduleName); |
@@ -61,6 +64,9 @@ discard block |
||
61 | 64 | return App\Fields\File::getTmpPath() . 'IMPORT_' . $user->getId(); |
62 | 65 | } |
63 | 66 | |
67 | + /** |
|
68 | + * @param string $errorMessage |
|
69 | + */ |
|
64 | 70 | public static function showErrorPage($errorMessage, $errorDetails = false, $customActions = false) |
65 | 71 | { |
66 | 72 | $viewer = new Vtiger_Viewer(); |
@@ -112,6 +112,9 @@ |
||
112 | 112 | } |
113 | 113 | } |
114 | 114 | |
115 | + /** |
|
116 | + * @param boolean $continueImport |
|
117 | + */ |
|
115 | 118 | public static function showCurrentStatus($importInfo, $importStatusCount, $continueImport) |
116 | 119 | { |
117 | 120 | $moduleName = $importInfo['module']; |
@@ -290,7 +290,7 @@ |
||
290 | 290 | * Transform owner ship and delete. |
291 | 291 | * |
292 | 292 | * @param int $userId |
293 | - * @param array $transformToUserId |
|
293 | + * @param integer $transformToUserId |
|
294 | 294 | */ |
295 | 295 | public function transformOwnerShipAndDelete($userId, $transformToUserId) |
296 | 296 | { |
@@ -208,6 +208,9 @@ |
||
208 | 208 | $viewer->view('ImportUndoResult.tpl', 'Import'); |
209 | 209 | } |
210 | 210 | |
211 | + /** |
|
212 | + * @param string $moduleName |
|
213 | + */ |
|
211 | 214 | public function undoRecords($type, $moduleName) |
212 | 215 | { |
213 | 216 | $dbTableName = Import_Module_Model::getDbTableName(App\User::getCurrentUserModel()); |
@@ -52,6 +52,12 @@ |
||
52 | 52 | return $users; |
53 | 53 | } |
54 | 54 | |
55 | + /** |
|
56 | + * @param integer $tabid |
|
57 | + * @param integer $cvId |
|
58 | + * |
|
59 | + * @return string |
|
60 | + */ |
|
55 | 61 | public static function setDefaultUsersFilterView($tabid, $cvId, $user, $action) |
56 | 62 | { |
57 | 63 | if ($action == 'add') { |
@@ -40,6 +40,11 @@ |
||
40 | 40 | return $globalPermissions; |
41 | 41 | } |
42 | 42 | |
43 | + /** |
|
44 | + * @param integer $profileID |
|
45 | + * @param integer $globalactionid |
|
46 | + * @param integer $checked |
|
47 | + */ |
|
43 | 48 | public static function save($profileID, $globalactionid, $checked) |
44 | 49 | { |
45 | 50 | if ($globalactionid == 1) { |