23 lines
680 B
PHP
23 lines
680 B
PHP
<?php defined('SYSPATH') or die('No direct access allowed.');
|
|
|
|
/**
|
|
* This class provides information on TSM Nodes.
|
|
*
|
|
* @package PTA
|
|
* @subpackage Domains
|
|
* @category Controllers
|
|
* @author Deon George
|
|
* @copyright (c) 2010 phpTSMadmin Development Team
|
|
* @license http://phptsmadmin.sf.net/license.html
|
|
*/
|
|
class Controller_Db extends Controller_TemplateDefault{
|
|
public function action_index() {
|
|
// @todo Does the DB name have different names?
|
|
Block::add(array(
|
|
'title'=>_('Database Information'),
|
|
'body'=>View::factory(sprintf('%s/detail',strtolower($this->request->controller())))->set('o',ORM::factory('DB','TSMDB1')),
|
|
));
|
|
}
|
|
}
|
|
?>
|