@@ -125,9 +125,8 @@ |
||
125 | 125 | /** |
126 | 126 | * Get discount from the account. |
127 | 127 | * |
128 | - * @param string $moduleName Module name |
|
129 | - * @param int $record Record ID |
|
130 | 128 | * |
129 | + * @param integer $relatedRecord |
|
131 | 130 | * @return array |
132 | 131 | */ |
133 | 132 | public function getAccountDiscount($relatedRecord) |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | * Function to set the value of a given property. |
38 | 38 | * |
39 | 39 | * @param string $propertyName |
40 | - * @param <Object> $propertyValue |
|
40 | + * @param boolean $propertyValue |
|
41 | 41 | * |
42 | 42 | * @return Vtiger_Link_Model instance |
43 | 43 | */ |
@@ -200,7 +200,7 @@ discard block |
||
200 | 200 | /** |
201 | 201 | * Function to check whether the link model has any child links. |
202 | 202 | * |
203 | - * @return bool true/false |
|
203 | + * @return boolean|null true/false |
|
204 | 204 | */ |
205 | 205 | public function hasChild() |
206 | 206 | { |
@@ -25,6 +25,9 @@ discard block |
||
25 | 25 | return $this->get('id'); |
26 | 26 | } |
27 | 27 | |
28 | + /** |
|
29 | + * @param string $key |
|
30 | + */ |
|
28 | 31 | public function get($key) |
29 | 32 | { |
30 | 33 | if (in_array($key, ['conditions', 'params']) && !is_array(parent::get($key))) { |
@@ -34,6 +37,9 @@ discard block |
||
34 | 37 | } |
35 | 38 | } |
36 | 39 | |
40 | + /** |
|
41 | + * @param string $key |
|
42 | + */ |
|
37 | 43 | public function getRaw($key) |
38 | 44 | { |
39 | 45 | return parent::get($key); |
@@ -69,6 +75,10 @@ discard block |
||
69 | 75 | } |
70 | 76 | } |
71 | 77 | |
78 | + /** |
|
79 | + * @param integer $recordId |
|
80 | + * @param string $view |
|
81 | + */ |
|
72 | 82 | public function getActiveTemplatesForRecord($recordId, $view, $moduleName = false) |
73 | 83 | { |
74 | 84 | \App\Log::trace('Entering ' . __METHOD__ . '(' . $recordId . ',' . $view . ',' . $moduleName . ') method ...'); |
@@ -932,6 +932,9 @@ discard block |
||
932 | 932 | return $modulesModelsList; |
933 | 933 | } |
934 | 934 | |
935 | + /** |
|
936 | + * @param string $moduleName |
|
937 | + */ |
|
935 | 938 | public static function getCleanInstance($moduleName) |
936 | 939 | { |
937 | 940 | $modelClassName = Vtiger_Loader::getComponentClassName('Model', 'Module', $moduleName); |
@@ -1024,7 +1027,7 @@ discard block |
||
1024 | 1027 | /** |
1025 | 1028 | * Function returns comments and recent activities across module. |
1026 | 1029 | * |
1027 | - * @param <Vtiger_Paging_Model> $pagingModel |
|
1030 | + * @param Vtiger_Paging_Model $pagingModel |
|
1028 | 1031 | * @param string $type - comments, updates or all |
1029 | 1032 | * |
1030 | 1033 | * @return <Array> |
@@ -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 | { |