PHP Class Ifsnop\Mysqldump\TypeAdapterMysql

Inheritance: extends TypeAdapterFactory
Show file Open project: clouddueling/mysqldump-php

Public Properties

Property Type Description
$mysqlTypes Numerical Mysql types

Public Methods

Method Description
__construct ( $dbHandler )
add_drop_database ( )
add_drop_trigger ( )
backup_parameters ( )
commit_transaction ( )
create_procedure ( $row, $dumpSettings )
create_table ( $row, $dumpSettings )
create_trigger ( $row )
create_view ( $row )
databases ( )
drop_table ( )
drop_view ( )
end_add_disable_keys ( )
end_add_lock_table ( )
end_disable_autocommit ( )
getDatabaseHeader ( )
lock_table ( )
parseColumnType ( array $colType ) : array Decode column metadata and fill info structure.
restore_parameters ( )
setup_transaction ( )
show_columns ( )
show_create_procedure ( $procedureName )
show_create_table ( $tableName )
show_create_trigger ( $triggerName )
show_create_view ( $viewName )
show_procedures ( )
show_tables ( )
show_triggers ( )
show_views ( )
start_add_disable_keys ( )
start_add_lock_table ( )
start_disable_autocommit ( )
start_transaction ( )
unlock_table ( )

Private Methods

Method Description
check_parameters ( integer $num_args, integer $expected_num_args, string $method_name ) Check number of parameters passed to function, useful when inheriting.

Method Details

__construct() public method

public __construct ( $dbHandler )

add_drop_database() public method

public add_drop_database ( )

add_drop_trigger() public method

public add_drop_trigger ( )

backup_parameters() public method

public backup_parameters ( )

commit_transaction() public method

public commit_transaction ( )

create_procedure() public method

public create_procedure ( $row, $dumpSettings )

create_table() public method

public create_table ( $row, $dumpSettings )

create_trigger() public method

public create_trigger ( $row )

create_view() public method

public create_view ( $row )

databases() public method

public databases ( )

drop_table() public method

public drop_table ( )

drop_view() public method

public drop_view ( )

end_add_disable_keys() public method

end_add_lock_table() public method

public end_add_lock_table ( )

end_disable_autocommit() public method

getDatabaseHeader() public method

public getDatabaseHeader ( )

lock_table() public method

public lock_table ( )

parseColumnType() public method

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

restore_parameters() public method

public restore_parameters ( )

setup_transaction() public method

public setup_transaction ( )

show_columns() public method

public show_columns ( )

show_create_procedure() public method

public show_create_procedure ( $procedureName )

show_create_table() public method

public show_create_table ( $tableName )

show_create_trigger() public method

public show_create_trigger ( $triggerName )

show_create_view() public method

public show_create_view ( $viewName )

show_procedures() public method

public show_procedures ( )

show_tables() public method

public show_tables ( )

show_triggers() public method

public show_triggers ( )

show_views() public method

public show_views ( )

start_add_disable_keys() public method

start_add_lock_table() public method

start_disable_autocommit() public method

start_transaction() public method

public start_transaction ( )

unlock_table() public method

public unlock_table ( )

Property Details

$mysqlTypes public property

Numerical Mysql types
public $mysqlTypes