@@ -46,7 +46,7 @@ |
||
46 | 46 | * |
47 | 47 | * @param int $widgetId |
48 | 48 | * |
49 | - * @return \self |
|
49 | + * @return Vtiger_Notebook_Model |
|
50 | 50 | */ |
51 | 51 | public static function getUserInstance($widgetId) |
52 | 52 | { |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | /** |
42 | 42 | * Function to get the record. |
43 | 43 | * |
44 | - * @return Vtiger_Record_Model |
|
44 | + * @return boolean |
|
45 | 45 | */ |
46 | 46 | public function getRecord() |
47 | 47 | { |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | /** |
57 | 57 | * Function to get the module. |
58 | 58 | * |
59 | - * @return Vtiger_Module_Model |
|
59 | + * @return boolean |
|
60 | 60 | */ |
61 | 61 | public function getModule() |
62 | 62 | { |
@@ -9,6 +9,10 @@ |
||
9 | 9 | */ |
10 | 10 | class Vtiger_RelatedCommentModal_Model extends \App\Base |
11 | 11 | { |
12 | + /** |
|
13 | + * @param integer $record |
|
14 | + * @param string $moduleName |
|
15 | + */ |
|
12 | 16 | public static function getInstance($record, $moduleName, $relatedRecord, $relatedModuleName) |
13 | 17 | { |
14 | 18 | $modelClassName = Vtiger_Loader::getComponentClassName('Model', 'RelatedCommentModal', $moduleName); |
@@ -299,7 +299,7 @@ |
||
299 | 299 | /** |
300 | 300 | * Get tree view model. |
301 | 301 | * |
302 | - * @return Vtiger_TreeCategoryModal_Model |
|
302 | + * @return Vtiger_TreeView_Model |
|
303 | 303 | */ |
304 | 304 | public function getTreeViewModel() |
305 | 305 | { |
@@ -18,7 +18,7 @@ |
||
18 | 18 | * |
19 | 19 | * @param Vtiger_Module_Model $moduleInstance - module model |
20 | 20 | * |
21 | - * @return \self |
|
21 | + * @return Vtiger_TooltipView_Model |
|
22 | 22 | */ |
23 | 23 | public function setModule($moduleInstance) |
24 | 24 | { |
@@ -109,6 +109,7 @@ |
||
109 | 109 | * Static Function to get the instance of Vtiger TreeView Model for the given Vtiger Module Model. |
110 | 110 | * |
111 | 111 | * @param string name of the module |
112 | + * @param Vtiger_Module_Model $moduleModel |
|
112 | 113 | * |
113 | 114 | * @return Vtiger_TreeView_Model instance |
114 | 115 | */ |
@@ -116,6 +116,7 @@ |
||
116 | 116 | /** |
117 | 117 | * Function verifies if module is watching in database. |
118 | 118 | * |
119 | + * @param string $member |
|
119 | 120 | * @return bool |
120 | 121 | */ |
121 | 122 | public function isWatchingModuleConfig($member) |
@@ -44,6 +44,7 @@ |
||
44 | 44 | |
45 | 45 | /** |
46 | 46 | * {@inheritdoc} |
47 | + * @param string $value |
|
47 | 48 | */ |
48 | 49 | public function getDisplayValue($value, $record = false, $recordModel = false, $rawText = false, $length = false) |
49 | 50 | { |
@@ -74,7 +74,7 @@ |
||
74 | 74 | * |
75 | 75 | * @param int $id userId/GroupId |
76 | 76 | * |
77 | - * @return string User/Group |
|
77 | + * @return boolean User/Group |
|
78 | 78 | */ |
79 | 79 | public static function getOwnerType($id) |
80 | 80 | { |