@@ -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) { |
@@ -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 | { |
@@ -54,7 +54,8 @@ discard block |
||
54 | 54 | /** |
55 | 55 | * Function to get the Id. |
56 | 56 | * |
57 | - * @return int Profile Id |
|
57 | + * @param string $id |
|
58 | + * @return Settings_Profiles_Record_Model Profile Id |
|
58 | 59 | */ |
59 | 60 | protected function setId($id) |
60 | 61 | { |
@@ -317,7 +318,7 @@ discard block |
||
317 | 318 | * |
318 | 319 | * @param Vtiger_Module_Model $module |
319 | 320 | * |
320 | - * @return bool|array |
|
321 | + * @return boolean|string |
|
321 | 322 | */ |
322 | 323 | public function getProfileTabModel($module) |
323 | 324 | { |
@@ -916,9 +917,9 @@ discard block |
||
916 | 917 | * |
917 | 918 | * @param string $profileName |
918 | 919 | * @param bool $checkOnlyDirectlyRelated |
919 | - * @param array $excludedRecordId |
|
920 | + * @param integer $excludedRecordId |
|
920 | 921 | * |
921 | - * @return \self |
|
922 | + * @return Settings_Profiles_Record_Model|null |
|
922 | 923 | */ |
923 | 924 | public static function getInstanceByName($profileName, $checkOnlyDirectlyRelated = false, $excludedRecordId = []) |
924 | 925 | { |
@@ -11,8 +11,7 @@ discard block |
||
11 | 11 | /** |
12 | 12 | * Gets list of holidays. |
13 | 13 | * |
14 | - * @param string $dateStart - beginning date |
|
15 | - * @param string $dateTo - ending date |
|
14 | + * @param string $date - ending date |
|
16 | 15 | * |
17 | 16 | * @return - array of holidays success, false on failure |
18 | 17 | */ |
@@ -50,7 +49,7 @@ discard block |
||
50 | 49 | /** |
51 | 50 | * Delete holiday. |
52 | 51 | * |
53 | - * @param <Int> $id - id of holiday |
|
52 | + * @param integer $id - id of holiday |
|
54 | 53 | * |
55 | 54 | * @return - true on success, false on failure |
56 | 55 | */ |
@@ -97,7 +96,7 @@ discard block |
||
97 | 96 | /** |
98 | 97 | * Edit holiday. |
99 | 98 | * |
100 | - * @param <Int> $id - id of the holiday |
|
99 | + * @param integer $id - id of the holiday |
|
101 | 100 | * @param string $date - date of the holiday |
102 | 101 | * @param string $name - name of the holiday |
103 | 102 | * @param string $type - name of the holiday |
@@ -52,6 +52,7 @@ |
||
52 | 52 | /** |
53 | 53 | * Update status. |
54 | 54 | * |
55 | + * @param integer $moduleId |
|
55 | 56 | * @return - array of status |
56 | 57 | */ |
57 | 58 | public static function updateStatusNotModify($moduleId, $status) |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | * @param string $key |
42 | 42 | * @param bool $skipEmtpy Skip the check if string is empty |
43 | 43 | * |
44 | - * @return mixed Value for the given key |
|
44 | + * @return string|boolean Value for the given key |
|
45 | 45 | */ |
46 | 46 | public function getForSql($key, $skipEmtpy = true) |
47 | 47 | { |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | * |
54 | 54 | * @param string $key |
55 | 55 | * |
56 | - * @return mixed |
|
56 | + * @return string |
|
57 | 57 | */ |
58 | 58 | public function getForHtml($key) |
59 | 59 | { |