PHP 클래스 MySQLDump

Here is an inline example: $connection = @mysql_connect($dbhost,$dbuser,$dbpsw); $dumper = new MySQLDump($dbname,'filename.sql',false,false); $dumper->doDump(); Special thanks to: - Andrea Ingaglio helping in development of all class code - Dylan Pugh for precious advices halfing the size of the output file and for helping in debug
저자: Daniele Viganò - CreativeFactory.it ([email protected])
파일 보기 프로젝트 열기: dg/mysql-dump 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$tables array

공개 메소드들

메소드 설명
__construct ( mysqli $connection, $charset = 'utf8' ) Connects to database.
dumpTable ( $handle, $table ) : void Dumps table to logical file.
save ( $file ) : void Saves dump to the file.
write ( $handle = NULL ) : void Writes dump to logical file.

비공개 메소드들

메소드 설명
delimite ( $s )

메소드 상세

__construct() 공개 메소드

Connects to database.
public __construct ( mysqli $connection, $charset = 'utf8' )
$connection mysqli

dumpTable() 공개 메소드

Dumps table to logical file.
public dumpTable ( $handle, $table ) : void
리턴 void

save() 공개 메소드

Saves dump to the file.
public save ( $file ) : void
리턴 void

write() 공개 메소드

Writes dump to logical file.
public write ( $handle = NULL ) : void
리턴 void

프로퍼티 상세

$tables 공개적으로 프로퍼티

public array $tables
리턴 array