@@ -130,6 +130,9 @@ |
||
| 130 | 130 | $response->emit(); |
| 131 | 131 | } |
| 132 | 132 | |
| 133 | + /** |
|
| 134 | + * @param string $moduleName |
|
| 135 | + */ |
|
| 133 | 136 | public function getRecordDetail($recordId, $currencyId, $moduleName, $fieldName) |
| 134 | 137 | { |
| 135 | 138 | $recordModel = Vtiger_Record_Model::getInstanceById($recordId); |
@@ -98,6 +98,9 @@ discard block |
||
| 98 | 98 | } |
| 99 | 99 | } |
| 100 | 100 | |
| 101 | + /** |
|
| 102 | + * @param string $module |
|
| 103 | + */ |
|
| 101 | 104 | public static function getInstance($module) |
| 102 | 105 | { |
| 103 | 106 | $instance = Vtiger_Cache::get('transferOwnership', $module); |
@@ -150,6 +153,9 @@ discard block |
||
| 150 | 153 | return $relatedModules; |
| 151 | 154 | } |
| 152 | 155 | |
| 156 | + /** |
|
| 157 | + * @param string $findModule |
|
| 158 | + */ |
|
| 153 | 159 | public function getRelatedColumnName($relatedModule, $findModule) |
| 154 | 160 | { |
| 155 | 161 | $relatedModuleModel = Vtiger_Module_Model::getInstance($relatedModule); |
@@ -30,6 +30,9 @@ |
||
| 30 | 30 | $viewer->view('EditHeader.tpl', $request->getModule(false)); |
| 31 | 31 | } |
| 32 | 32 | |
| 33 | + /** |
|
| 34 | + * @param string $step |
|
| 35 | + */ |
|
| 33 | 36 | public function step($step, \App\Request $request) |
| 34 | 37 | { |
| 35 | 38 | $viewer = $this->getViewer($request); |
@@ -19,6 +19,9 @@ discard block |
||
| 19 | 19 | 'delete' => 3, |
| 20 | 20 | ]; |
| 21 | 21 | |
| 22 | + /** |
|
| 23 | + * @param string $type |
|
| 24 | + */ |
|
| 22 | 25 | public static function addBasic($type) |
| 23 | 26 | { |
| 24 | 27 | $db = App\Db::getInstance('log'); |
@@ -41,6 +44,9 @@ discard block |
||
| 41 | 44 | } |
| 42 | 45 | } |
| 43 | 46 | |
| 47 | + /** |
|
| 48 | + * @param string $type |
|
| 49 | + */ |
|
| 44 | 50 | public static function changeType($type) |
| 45 | 51 | { |
| 46 | 52 | App\Db::getInstance('log')->createCommand() |
@@ -227,6 +227,9 @@ |
||
| 227 | 227 | \App\Db::getInstance()->createCommand()->update('vtiger_ossmailview', ['ossmailview_sendtype' => $mailType[$mail_type], 'type' => $mail_type], ['ossmailviewid' => $selectedIds])->execute(); |
| 228 | 228 | } |
| 229 | 229 | |
| 230 | + /** |
|
| 231 | + * @param string $action |
|
| 232 | + */ |
|
| 230 | 233 | public function addLog($action, $info) |
| 231 | 234 | { |
| 232 | 235 | $user_id = Users_Record_Model::getCurrentUserModel()->get('user_name'); |
@@ -25,6 +25,9 @@ |
||
| 25 | 25 | return \App\Request::_getServer('REQUEST_URI'); |
| 26 | 26 | } |
| 27 | 27 | |
| 28 | + /** |
|
| 29 | + * @return string |
|
| 30 | + */ |
|
| 28 | 31 | public function returnUrl() |
| 29 | 32 | { |
| 30 | 33 | return $this->returnUrl; |
@@ -32,6 +32,9 @@ |
||
| 32 | 32 | return self::TABLE_NAME; |
| 33 | 33 | } |
| 34 | 34 | |
| 35 | + /** |
|
| 36 | + * @param integer $recordId |
|
| 37 | + */ |
|
| 35 | 38 | public static function delete($recordId) |
| 36 | 39 | { |
| 37 | 40 | \App\Db::getInstance()->createCommand()->update(self::TABLE_NAME, ['deleted' => 1], ['id' => $recordId])->execute(); |
@@ -150,6 +150,9 @@ |
||
| 150 | 150 | ]; |
| 151 | 151 | } |
| 152 | 152 | |
| 153 | + /** |
|
| 154 | + * @param integer $tempStatus |
|
| 155 | + */ |
|
| 153 | 156 | public static function updateStatus($importId, $tempStatus) |
| 154 | 157 | { |
| 155 | 158 | App\Db::getInstance()->createCommand()->update('vtiger_import_queue', ['temp_status' => $tempStatus], ['importid' => $importId])->execute(); |
@@ -11,6 +11,9 @@ |
||
| 11 | 11 | class VTExpressionSpaceFilter |
| 12 | 12 | { |
| 13 | 13 | |
| 14 | + /** |
|
| 15 | + * @param VTExpressionTokenizer $tokens |
|
| 16 | + */ |
|
| 14 | 17 | public function __construct($tokens) |
| 15 | 18 | { |
| 16 | 19 | $this->tokens = $tokens; |