* rewrite the comments of admin module.
This commit is contained in:
@@ -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
@@ -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()
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user