@@ -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) |
@@ -121,6 +121,9 @@ discard block |
||
| 121 | 121 | return $self; |
| 122 | 122 | } |
| 123 | 123 | |
| 124 | + /** |
|
| 125 | + * @param integer $linkId |
|
| 126 | + */ |
|
| 124 | 127 | public static function getInstance($linkId, $userId) |
| 125 | 128 | { |
| 126 | 129 | $row = (new \App\Db\Query())->from('vtiger_module_dashboard_widgets') |
@@ -135,6 +138,10 @@ discard block |
||
| 135 | 138 | return $self; |
| 136 | 139 | } |
| 137 | 140 | |
| 141 | + /** |
|
| 142 | + * @param null|integer $linkId |
|
| 143 | + * @param integer|null $widgetId |
|
| 144 | + */ |
|
| 138 | 145 | public static function updateWidgetPosition($position, $linkId, $widgetId, $userId) |
| 139 | 146 | { |
| 140 | 147 | if (!$linkId && !$widgetId) { |
@@ -154,7 +161,7 @@ discard block |
||
| 154 | 161 | * @param int $widgetId |
| 155 | 162 | * @param int $userId |
| 156 | 163 | * |
| 157 | - * @return \self |
|
| 164 | + * @return Vtiger_Widget_Model |
|
| 158 | 165 | */ |
| 159 | 166 | public static function getInstanceWithWidgetId($widgetId, $userId) |
| 160 | 167 | { |
@@ -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 | { |