* rewrite the comments of admin module.

This commit is contained in:
wangchunsheng
2010-11-18 14:24:50 +00:00
parent ae7aa616be
commit d09f47d184
2 changed files with 26 additions and 5 deletions
+7 -2
View File
@@ -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'));
}
+19 -3
View File
@@ -13,19 +13,35 @@
<?php
class adminModel extends model
{
/* 获得整个pms系统的统计信息。*/
/**
* Get status of zentaopms.
*
* @access public
* @return void
*/
public function getStatOfPMS()
{
$sql = "SHOW TABLE STATUS";
$tables = $this->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()
{
}