diff --git a/module/common/model.php b/module/common/model.php index 6a1d892c9e..0208b25cfb 100644 --- a/module/common/model.php +++ b/module/common/model.php @@ -48,7 +48,7 @@ class commonModel extends model /** * Set the commpany. * - * First, search company by the http host. If not found, search by the default domain. Last, use the first as the default. + * First, search company by the http host. If not found, search by the default domain. Last, use the first as the default. * After get the company, save it to session. * @access public * @return void @@ -72,7 +72,7 @@ class commonModel extends model /** * Set the user info. - * + * * @access public * @return void */ @@ -99,7 +99,7 @@ class commonModel extends model /** * Load configs from database and save it to config->system and config->personal. - * + * * @access public * @return void */ @@ -170,9 +170,9 @@ class commonModel extends model /** * Deny access. - * + * * @access public - * @return void + * @return mixed */ public function deny($module, $method) { @@ -207,7 +207,7 @@ class commonModel extends model /** * Print the run info. - * + * * @param mixed $startTime the start time. * @access public * @return array the run info array. @@ -223,7 +223,7 @@ class commonModel extends model /** * Print top bar. - * + * * @static * @access public * @return void @@ -293,8 +293,9 @@ class commonModel extends model /** * Create menu item link * - * @param object $menuItemLink - * @param boolean $isTutorialMode + * @param object $menuItem + * + * @static * @access public * @return string */ @@ -321,6 +322,8 @@ class commonModel extends model * Print the main menu. * * @param string $moduleName + * @param string $methodName + * * @static * @access public * @return void @@ -383,14 +386,14 @@ class commonModel extends model if($config->global->flow == 'onlyTask') $searchObject = 'task'; } - echo "