\addons\database\libraryBackup

Summary

Methods
Properties
Constants
__construct()
setTable()
setIgnoreTable()
backup()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
_init()
$host
$user
$name
$pass
$port
$tables
$ignoreTables
$db
$ds
N/A

Properties

$host

$host : 

Type

$user

$user : 

Type

$name

$name : 

Type

$pass

$pass : 

Type

$port

$port : 

Type

$tables

$tables : 

Type

$ignoreTables

$ignoreTables : 

Type

$db

$db : 

Type

$ds

$ds : 

Type

Methods

__construct()

__construct(  $host = NULL,   $user = NULL,   $name = NULL,   $pass = NULL,   $port = 3306) 

Parameters

$host
$user
$name
$pass
$port

setTable()

setTable(  $table) : $this

设置备份表

Parameters

$table

Returns

$this

setIgnoreTable()

setIgnoreTable(  $table) : $this

设置忽略备份的表

Parameters

$table

Returns

$this

backup()

backup(  $backUpdir = 'download/') 

Parameters

$backUpdir

_init()

_init()