PHP 클래스 Ifsnop\Mysqldump\TypeAdapterFactory

파일 보기 프로젝트 열기: clouddueling/mysqldump-php 1 사용 예제들

공개 메소드들

메소드 설명
add_drop_database ( )
add_drop_trigger ( )
backup_parameters ( )
commit_transaction ( )
create ( string $c, PDO $dbHandler = null )
create_procedure ( $procedureName, $dumpSettings ) function create_procedure Modify procedure code, add delimiters, etc
create_table ( $row, $dumpSettings ) function create_table Get table creation code from database
create_trigger ( $triggerName ) function create_trigger Modify trigger code, add delimiters, etc
create_view ( $row ) function create_view Get view creation code from database
databases ( ) function databases Add sql to create and use database
drop_table ( )
drop_view ( )
end_add_disable_keys ( )
end_add_lock_table ( )
end_disable_foreign_keys_check ( )
lock_table ( )
parseColumnType ( array $colType ) : array Decode column metadata and fill info structure.
restore_parameters ( )
setup_transaction ( )
show_columns ( )
show_create_table ( $tableName )
show_create_trigger ( $triggerName ) function show_create_trigger Get trigger creation code from database
show_create_view ( $viewName )
show_procedures ( )
show_tables ( )
show_triggers ( )
show_views ( )
start_add_disable_keys ( )
start_add_lock_table ( )
start_disable_foreign_keys_check ( )
start_transaction ( )
unlock_table ( )

메소드 상세

add_drop_database() 공개 메소드

public add_drop_database ( )

add_drop_trigger() 공개 메소드

public add_drop_trigger ( )

backup_parameters() 공개 메소드

public backup_parameters ( )

commit_transaction() 공개 메소드

public commit_transaction ( )

create() 공개 정적인 메소드

public static create ( string $c, PDO $dbHandler = null )
$c string Type of database factory to create (Mysql, Sqlite,...)
$dbHandler PDO

create_procedure() 공개 메소드

function create_procedure Modify procedure code, add delimiters, etc
public create_procedure ( $procedureName, $dumpSettings )

create_table() 공개 메소드

function create_table Get table creation code from database
public create_table ( $row, $dumpSettings )

create_trigger() 공개 메소드

function create_trigger Modify trigger code, add delimiters, etc
public create_trigger ( $triggerName )

create_view() 공개 메소드

function create_view Get view creation code from database
public create_view ( $row )

databases() 공개 메소드

function databases Add sql to create and use database
public databases ( )

drop_table() 공개 메소드

public drop_table ( )

drop_view() 공개 메소드

public drop_view ( )

end_add_disable_keys() 공개 메소드

end_add_lock_table() 공개 메소드

public end_add_lock_table ( )

end_disable_foreign_keys_check() 공개 메소드

lock_table() 공개 메소드

public lock_table ( )

parseColumnType() 공개 메소드

type, is_numeric and is_blob will always be available.
public parseColumnType ( array $colType ) : array
$colType array Array returned from "SHOW COLUMNS FROM tableName"
리턴 array

restore_parameters() 공개 메소드

public restore_parameters ( )

setup_transaction() 공개 메소드

public setup_transaction ( )

show_columns() 공개 메소드

public show_columns ( )

show_create_table() 공개 메소드

public show_create_table ( $tableName )

show_create_trigger() 공개 메소드

function show_create_trigger Get trigger creation code from database
public show_create_trigger ( $triggerName )

show_create_view() 공개 메소드

public show_create_view ( $viewName )

show_procedures() 공개 메소드

public show_procedures ( )

show_tables() 공개 메소드

public show_tables ( )

show_triggers() 공개 메소드

public show_triggers ( )

show_views() 공개 메소드

public show_views ( )

start_add_disable_keys() 공개 메소드

start_add_lock_table() 공개 메소드

start_disable_foreign_keys_check() 공개 메소드

start_transaction() 공개 메소드

public start_transaction ( )

unlock_table() 공개 메소드

public unlock_table ( )