\app\admin\controllerDatabase

Summary

Methods
Properties
Constants
index()
optimize()
repair()
del()
export()
import()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

index()

index(String  $type = null) 

数据库备份/还原列表

Parameters

String $type

import-还原,export-备份

optimize()

optimize(String  $tables = null) 

优化表

Parameters

String $tables

表名

repair()

repair(String  $tables = null) 

修复表

Parameters

String $tables

表名

del()

del(Integer  $time) 

删除备份文件

Parameters

Integer $time

备份时间

export()

export(String  $tables = null, Integer  $id = null, Integer  $start = null) 

备份数据库

Parameters

String $tables

表名

Integer $id

表ID

Integer $start

起始行数

import()

import(  $time,   $part = null,   $start = null) 

还原数据库

Parameters

$time
$part
$start