@@ -28,6 +28,9 @@ |
||
28 | 28 | |
29 | 29 | // @function updates user tables with new picklist value for default event and status fields |
30 | 30 | |
31 | + /** |
|
32 | + * @param string $pickListFieldName |
|
33 | + */ |
|
31 | 34 | public function updateDefaultPicklistValues($pickListFieldName, $oldValue, $newValue) |
32 | 35 | { |
33 | 36 | if ($pickListFieldName === 'activitytype') { |
@@ -20,7 +20,7 @@ |
||
20 | 20 | /** |
21 | 21 | * Function to get the Id. |
22 | 22 | * |
23 | - * @return number |
|
23 | + * @return string |
|
24 | 24 | */ |
25 | 25 | public function getId() |
26 | 26 | { |
@@ -56,6 +56,7 @@ discard block |
||
56 | 56 | /** |
57 | 57 | * Function to set the immediate parent role. |
58 | 58 | * |
59 | + * @param Settings_Roles_Record_Model $parentRole |
|
59 | 60 | * @return <Settings_Roles_Record_Model> instance |
60 | 61 | */ |
61 | 62 | public function setParent($parentRole) |
@@ -68,7 +69,7 @@ discard block |
||
68 | 69 | /** |
69 | 70 | * Function to get the immediate parent role. |
70 | 71 | * |
71 | - * @return <Settings_Roles_Record_Model> instance |
|
72 | + * @return string instance |
|
72 | 73 | */ |
73 | 74 | public function getParent() |
74 | 75 | { |
@@ -256,7 +257,7 @@ discard block |
||
256 | 257 | /** |
257 | 258 | * Function to add a child role to the current role. |
258 | 259 | * |
259 | - * @param <Settings_Roles_Record_Model> $role |
|
260 | + * @param Settings_Roles_Record_Model $role |
|
260 | 261 | * |
261 | 262 | * @return Settings_Roles_Record_Model instance |
262 | 263 | */ |
@@ -271,7 +272,7 @@ discard block |
||
271 | 272 | /** |
272 | 273 | * Function to move the current role and all its children nodes to the new parent role. |
273 | 274 | * |
274 | - * @param <Settings_Roles_Record_Model> $newParentRole |
|
275 | + * @param Settings_Roles_Record_Model $newParentRole |
|
275 | 276 | */ |
276 | 277 | public function moveTo($newParentRole) |
277 | 278 | { |
@@ -391,7 +392,7 @@ discard block |
||
391 | 392 | /** |
392 | 393 | * Function to delete the role. |
393 | 394 | * |
394 | - * @param <Settings_Roles_Record_Model> $transferToRole |
|
395 | + * @param Settings_Roles_Record_Model $transferToRole |
|
395 | 396 | */ |
396 | 397 | public function delete($transferToRole) |
397 | 398 | { |
@@ -11,7 +11,7 @@ |
||
11 | 11 | /** |
12 | 12 | * Return clean instance of self. |
13 | 13 | * |
14 | - * @return \self |
|
14 | + * @return Settings_SalesProcesses_Module_Model |
|
15 | 15 | */ |
16 | 16 | public static function getCleanInstance() |
17 | 17 | { |
@@ -40,7 +40,7 @@ |
||
40 | 40 | * |
41 | 41 | * @param int|string $value |
42 | 42 | * |
43 | - * @return \self |
|
43 | + * @return Settings_SharingAccess_Action_Model|null |
|
44 | 44 | */ |
45 | 45 | public static function getInstance($value) |
46 | 46 | { |
@@ -212,7 +212,7 @@ discard block |
||
212 | 212 | * |
213 | 213 | * @param string $qualifiedModuleName |
214 | 214 | * |
215 | - * @return \self |
|
215 | + * @return Settings_SMSNotifier_Record_Model |
|
216 | 216 | */ |
217 | 217 | public static function getCleanInstance($qualifiedModuleName) |
218 | 218 | { |
@@ -286,7 +286,6 @@ discard block |
||
286 | 286 | /** |
287 | 287 | * Function to get instance of provider model. |
288 | 288 | * |
289 | - * @param string $providerName |
|
290 | 289 | * |
291 | 290 | * @return bool|\SMSNotifier_Basic_Provider |
292 | 291 | */ |
@@ -349,7 +349,7 @@ |
||
349 | 349 | * |
350 | 350 | * @param int $record |
351 | 351 | * |
352 | - * @return Settings_Roles_Record_Model instance, if exists. Null otherwise |
|
352 | + * @return Settings_TreesManager_Record_Model|null instance, if exists. Null otherwise |
|
353 | 353 | */ |
354 | 354 | public static function getInstanceById($record) |
355 | 355 | { |
@@ -16,7 +16,7 @@ |
||
16 | 16 | * |
17 | 17 | * @param string $name |
18 | 18 | * |
19 | - * @return \self |
|
19 | + * @return Settings_Users_Module_Model |
|
20 | 20 | */ |
21 | 21 | public static function getInstance($name = 'Settings:Vtiger') |
22 | 22 | { |
@@ -31,7 +31,7 @@ |
||
31 | 31 | /** |
32 | 32 | * Function to get CompanyDetails Menu item. |
33 | 33 | * |
34 | - * @return menu item Model |
|
34 | + * @return Settings_Vtiger_MenuItem_Model item Model |
|
35 | 35 | */ |
36 | 36 | public function getMenuItem() |
37 | 37 | { |