PHP Class Ifsnop\Mysqldump\TypeAdapterFactory

Afficher le fichier Open project: clouddueling/mysqldump-php Class Usage Examples

Méthodes publiques

Méthode Description
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 ( )

Method Details

add_drop_database() public méthode

public add_drop_database ( )

add_drop_trigger() public méthode

public add_drop_trigger ( )

backup_parameters() public méthode

public backup_parameters ( )

commit_transaction() public méthode

public commit_transaction ( )

create() public static méthode

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

create_procedure() public méthode

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

create_table() public méthode

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

create_trigger() public méthode

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

create_view() public méthode

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

databases() public méthode

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

drop_table() public méthode

public drop_table ( )

drop_view() public méthode

public drop_view ( )

end_add_disable_keys() public méthode

end_add_lock_table() public méthode

public end_add_lock_table ( )

end_disable_foreign_keys_check() public méthode

lock_table() public méthode

public lock_table ( )

parseColumnType() public méthode

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

restore_parameters() public méthode

public restore_parameters ( )

setup_transaction() public méthode

public setup_transaction ( )

show_columns() public méthode

public show_columns ( )

show_create_table() public méthode

public show_create_table ( $tableName )

show_create_trigger() public méthode

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

show_create_view() public méthode

public show_create_view ( $viewName )

show_procedures() public méthode

public show_procedures ( )

show_tables() public méthode

public show_tables ( )

show_triggers() public méthode

public show_triggers ( )

show_views() public méthode

public show_views ( )

start_add_disable_keys() public méthode

start_add_lock_table() public méthode

start_disable_foreign_keys_check() public méthode

start_transaction() public méthode

public start_transaction ( )

unlock_table() public méthode

public unlock_table ( )