diff --git a/module/admin/control.php b/module/admin/control.php index 928f61b0bb..0c24ad9620 100644 --- a/module/admin/control.php +++ b/module/admin/control.php @@ -11,8 +11,13 @@ */ class admin extends control { - /* 首页。*/ - public function index($tab = 'index') + /** + * Index page of admin module. Locate to action's trash page. + * + * @access public + * @return void + */ + public function index() { $this->locate($this->createLink('action', 'trash')); } diff --git a/module/admin/model.php b/module/admin/model.php index 39321750d6..e67f467a8e 100644 --- a/module/admin/model.php +++ b/module/admin/model.php @@ -13,19 +13,35 @@ dbh->query($sql)->fetchALL(); } - /* 获得某一个公司的统计信息。*/ + /** + * Get state of company. + * + * @param int $companyID + * @access public + * @return void + */ public function getStatOfCompany($companyID) { } - /* 获得系统的运行信息。*/ + /** + * Get system info. + * + * @access public + * @return void + */ public function getStatOfSys() { }