@@ -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 | { |
@@ -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) { |
@@ -33,6 +33,10 @@ |
||
33 | 33 | return $modules; |
34 | 34 | } |
35 | 35 | |
36 | + /** |
|
37 | + * @param integer $tabid |
|
38 | + * @param integer $status |
|
39 | + */ |
|
36 | 40 | public function changeActiveStatus($tabid, $status) |
37 | 41 | { |
38 | 42 | if ($status) { |
@@ -38,6 +38,9 @@ discard block |
||
38 | 38 | $this->__write("<$node>$delimiter"); |
39 | 39 | } |
40 | 40 | |
41 | + /** |
|
42 | + * @param string $node |
|
43 | + */ |
|
41 | 44 | public function closeNode($node, $delimiter = PHP_EOL) |
42 | 45 | { |
43 | 46 | $this->__write("</$node>$delimiter"); |
@@ -62,6 +65,7 @@ discard block |
||
62 | 65 | /** |
63 | 66 | * Set the module.xml file path for this export and |
64 | 67 | * return its temporary path. |
68 | + * @return string |
|
65 | 69 | */ |
66 | 70 | public function __getManifestFilePath() |
67 | 71 | { |
@@ -75,6 +79,7 @@ discard block |
||
75 | 79 | |
76 | 80 | /** |
77 | 81 | * Initialize Export. |
82 | + * @param boolean $module |
|
78 | 83 | */ |
79 | 84 | public function __initExport($module) |
80 | 85 | { |