@@ -15,6 +15,7 @@ |
||
15 | 15 | * Function to get Instance of Faq Record Model using TroubleTicket RecordModel. |
16 | 16 | * |
17 | 17 | * @param HelpDesk_Record_Model |
18 | + * @param Vtiger_Record_Model $parentRecordModel |
|
18 | 19 | * |
19 | 20 | * @return Faq_Record_Model |
20 | 21 | */ |
@@ -388,8 +388,6 @@ discard block |
||
388 | 388 | /** |
389 | 389 | * Function transforms value for reference type field. |
390 | 390 | * |
391 | - * @param \Vtiger_Field_Model $fieldInstance |
|
392 | - * @param string $fieldValue |
|
393 | 391 | * |
394 | 392 | * @return mixed |
395 | 393 | */ |
@@ -965,7 +963,7 @@ discard block |
||
965 | 963 | * |
966 | 964 | * @param array $inventoryData |
967 | 965 | * |
968 | - * @return \App\Base |
|
966 | + * @return App\Request |
|
969 | 967 | */ |
970 | 968 | public function convertInventoryDataToObject($inventoryData = []) |
971 | 969 | { |
@@ -40,6 +40,9 @@ discard block |
||
40 | 40 | return new self($map); |
41 | 41 | } |
42 | 42 | |
43 | + /** |
|
44 | + * @param integer $mapId |
|
45 | + */ |
|
43 | 46 | public static function markAsDeleted($mapId) |
44 | 47 | { |
45 | 48 | \App\Db::getInstance() |
@@ -60,6 +63,9 @@ discard block |
||
60 | 63 | return $this->map; |
61 | 64 | } |
62 | 65 | |
66 | + /** |
|
67 | + * @param string $key |
|
68 | + */ |
|
63 | 69 | public function getValue($key) |
64 | 70 | { |
65 | 71 | $map = $this->map; |
@@ -96,6 +102,9 @@ discard block |
||
96 | 102 | } |
97 | 103 | } |
98 | 104 | |
105 | + /** |
|
106 | + * @param string $moduleName |
|
107 | + */ |
|
99 | 108 | public static function getAllByModule($moduleName) |
100 | 109 | { |
101 | 110 | $dataReader = (new App\Db\Query())->from(self::$tableName) |
@@ -132,7 +132,7 @@ |
||
132 | 132 | /** |
133 | 133 | * Function returns list of templates to import. |
134 | 134 | * |
135 | - * @param type $moduleName |
|
135 | + * @param string $moduleName |
|
136 | 136 | * |
137 | 137 | * @return array |
138 | 138 | */ |
@@ -161,7 +161,7 @@ |
||
161 | 161 | * |
162 | 162 | * @param array $data |
163 | 163 | * |
164 | - * @return int |
|
164 | + * @return string |
|
165 | 165 | */ |
166 | 166 | public function addRecordToDB($data) |
167 | 167 | { |
@@ -185,6 +185,7 @@ discard block |
||
185 | 185 | * @param int $id - istorageid |
186 | 186 | * @param array $parentIStorages - Array of all the parent storages |
187 | 187 | * returns All the parent Storages of the given istorageid in array format |
188 | + * @param integer[] $encounteredIStorages |
|
188 | 189 | */ |
189 | 190 | public function getParentIStorages($id, &$parentIStorages, &$encounteredIStorages, $depthBase = 0) |
190 | 191 | { |
@@ -252,7 +253,7 @@ discard block |
||
252 | 253 | * |
253 | 254 | * @param int $id - istorageid |
254 | 255 | * @param array $childIStorages - Array of all the child storages |
255 | - * @param int $depth - Depth at which the particular storage has to be placed in the hierarchy |
|
256 | + * @param int $depthBase - Depth at which the particular storage has to be placed in the hierarchy |
|
256 | 257 | * returns All the child storages of the given istorageid in array format |
257 | 258 | */ |
258 | 259 | public function getChildIStorages($id, &$childIStorages, $depthBase) |
@@ -134,7 +134,7 @@ |
||
134 | 134 | * |
135 | 135 | * @param KnowledgeBase_Module_Model $moduleModel |
136 | 136 | * |
137 | - * @return \self |
|
137 | + * @return KnowledgeBase_Tree_Model |
|
138 | 138 | */ |
139 | 139 | public static function getInstance($moduleModel) |
140 | 140 | { |
@@ -14,6 +14,7 @@ discard block |
||
14 | 14 | * Function to set parent to this model. |
15 | 15 | * |
16 | 16 | * @param Vtiger_Record_Model |
17 | + * @param ModTracker_Record_Model $parent |
|
17 | 18 | */ |
18 | 19 | public function setParent($parent) |
19 | 20 | { |
@@ -36,6 +37,7 @@ discard block |
||
36 | 37 | * Function to set Field instance. |
37 | 38 | * |
38 | 39 | * @param Vtiger_Field_Model |
40 | + * @param Vtiger_Field_Model $fieldModel |
|
39 | 41 | */ |
40 | 42 | public function setFieldInstance($fieldModel) |
41 | 43 | { |
@@ -183,6 +183,7 @@ |
||
183 | 183 | * @param int $id - multicompanyid |
184 | 184 | * @param array $parent - Array of all the parent sales |
185 | 185 | * returns All the parent f the given multicompanyid in array format |
186 | + * @param integer[] $encountered |
|
186 | 187 | * @YTTODO to rebuild |
187 | 188 | */ |
188 | 189 | public function getParent($id, &$parent, &$encountered, $depthBase = 0) |