+ add dev module.

This commit is contained in:
xia0ta0
2015-02-26 16:19:57 +08:00
parent 6efa9f6768
commit b34318a028
7 changed files with 194 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
<?php
class dev extends control
{
public function api()
{
$this->view->tables = $this->dev->getTables();
$this->view->tab = 'api';
$this->view->position[] = html::a(inlink('api'), $this->lang->dev->common);
$this->view->position[] = $this->lang->dev->api;
$this->display();
}
public function db($table = '')
{
$this->view->tables = $this->dev->getTables();
$this->view->tab = 'db';
$this->view->selectedTable = $table;
$this->view->tab = 'db';
$this->view->fields = $table ? $this->dev->descTable($table) : array();
$this->view->position[] = html::a(inlink('api'), $this->lang->dev->common);
$this->view->position[] = $this->lang->dev->db;
$this->display();
}
}