Added DB and removed some old interface scripts

This commit is contained in:
Deon George
2012-11-30 15:29:08 +11:00
parent 1bf8a520e2
commit 74b3bfb408
19 changed files with 226 additions and 585 deletions

View File

@@ -0,0 +1,31 @@
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
*
* @package PTA
* @subpackage Database
* @category Models
* @author Deon George
* @copyright (c) 2010 phpTSMadmin Development Team
* @license http://phptsmadmin.sf.net/license.html
*/
class Model_DBSPACE extends TSM_ORM {
protected $_table_name = 'DBSPACE';
protected $_primary_key = 'LOCATION';
protected $_sorting = array(
'LOCATION'=>'ASC',
);
protected $_display_filters = array(
'FREE_SPACE_MB'=>array(
array('number_format',array(':value',0)),
),
'TOTAL_FS_SIZE_MB'=>array(
array('number_format',array(':value',0)),
),
'USED_FS_SIZE_MB'=>array(
array('number_format',array(':value',0)),
),
);
}
?>