@@ -314,7 +314,7 @@ |
||
314 | 314 | /** |
315 | 315 | * TransferOwnership. |
316 | 316 | * |
317 | - * @param Settings_Groups_Record_Model|Users_Record_Model $transferToGroup |
|
317 | + * @param Settings_Groups_Record_Model $transferToGroup |
|
318 | 318 | */ |
319 | 319 | protected function transferOwnership($transferToGroup) |
320 | 320 | { |
@@ -28,6 +28,9 @@ |
||
28 | 28 | return static::$tablename[$type]; |
29 | 29 | } |
30 | 30 | |
31 | + /** |
|
32 | + * @param string $type |
|
33 | + */ |
|
31 | 34 | public static function getConfig($type, $name = false) |
32 | 35 | { |
33 | 36 | \App\Log::trace('Start ' . __METHOD__ . ' | Type: ' . print_r($type, true) . ' | Name: ' . print_r($name, true)); |
@@ -237,7 +237,7 @@ |
||
237 | 237 | /** |
238 | 238 | * Function to get mapping supported modules list. |
239 | 239 | * |
240 | - * @return array |
|
240 | + * @return string[] |
|
241 | 241 | */ |
242 | 242 | public static function getSupportedModulesList() |
243 | 243 | { |
@@ -10,7 +10,7 @@ |
||
10 | 10 | /** |
11 | 11 | * Funtion to get the Login history basic query. |
12 | 12 | * |
13 | - * @return type |
|
13 | + * @return App\Db\Query |
|
14 | 14 | */ |
15 | 15 | public function getBasicListQuery() |
16 | 16 | { |
@@ -186,7 +186,7 @@ |
||
186 | 186 | /** |
187 | 187 | * Function to get the clean instance. |
188 | 188 | * |
189 | - * @return \self |
|
189 | + * @return Settings_MailSmtp_Record_Model |
|
190 | 190 | */ |
191 | 191 | public static function getCleanInstance() |
192 | 192 | { |
@@ -14,7 +14,7 @@ |
||
14 | 14 | /** |
15 | 15 | * Function to get field uitype. |
16 | 16 | * |
17 | - * @return string uitype |
|
17 | + * @return integer uitype |
|
18 | 18 | */ |
19 | 19 | public function getUIType() |
20 | 20 | { |
@@ -189,7 +189,7 @@ discard block |
||
189 | 189 | /** |
190 | 190 | * Function to set mapping details. |
191 | 191 | * |
192 | - * @return instance |
|
192 | + * @return Settings_MappedFields_Module_Model |
|
193 | 193 | */ |
194 | 194 | public function setMapping($mapp = []) |
195 | 195 | { |
@@ -360,6 +360,9 @@ discard block |
||
360 | 360 | return ['id' => $id, 'message' => \App\Language::translate($message, $qualifiedModuleName)]; |
361 | 361 | } |
362 | 362 | |
363 | + /** |
|
364 | + * @param string $uploadedXml |
|
365 | + */ |
|
363 | 366 | public function importDataFromXML($uploadedXml) |
364 | 367 | { |
365 | 368 | $combine = ['tabid' => 'source', 'reltabid' => 'target']; |
@@ -46,7 +46,7 @@ |
||
46 | 46 | /** |
47 | 47 | * Function to get editable fields. |
48 | 48 | * |
49 | - * @return string[] |
|
49 | + * @return strung[] |
|
50 | 50 | */ |
51 | 51 | public function getEditFields() |
52 | 52 | { |
@@ -173,7 +173,7 @@ discard block |
||
173 | 173 | /** |
174 | 174 | * Function to get restricted modules list. |
175 | 175 | * |
176 | - * @return array List module names |
|
176 | + * @return string[] List module names |
|
177 | 177 | */ |
178 | 178 | public static function getActionsRestrictedModulesList() |
179 | 179 | { |
@@ -285,6 +285,9 @@ discard block |
||
285 | 285 | \App\Fields\RecordNumber::setNumber($module->id, 'N', 1); |
286 | 286 | } |
287 | 287 | |
288 | + /** |
|
289 | + * @return string |
|
290 | + */ |
|
288 | 291 | public static function toAlphaNumeric($value) |
289 | 292 | { |
290 | 293 | return preg_replace('/[^a-zA-Z0-9_]/', '', $value); |