Interface

DBMSUtils

Package: io Author: loic rouchon <loic.rouchon@phpboost.com> Desc Located at io/db/dbms/DBMSUtils.class.php

Direct known implementers

MySQLDBMSUtils
Methods summary
public
public
public
public
# create_database( mixed $database_name )
public
public
# list_and_desc_tables( mixed $with_prefix = false )
public
# desc_table( mixed $table )
public
# create_table( mixed $table_name, array $fields, array $options = array() )
public
# optimize( mixed $tables )
public
# repair( mixed $tables )
public
# truncate( mixed $tables )
public
# drop( mixed $tables )
public
# add_column( mixed $table_name, mixed $column_name, array $column_description )
public
# drop_column( mixed $table_name, mixed $column_name )
public
public
# dump_tables( FileWriter $file, array $tables, mixed $what = DBMSUtils::DUMP_STRUCTURE_AND_DATA )
public
# dump_table( FileWriter $file, mixed $table, mixed $what = DBMSUtils::DUMP_STRUCTURE_AND_DATA )
public
# parse_file( File $file, mixed $prefix = '' )
Constants summary
integer DUMP_STRUCTURE 1
#
integer DUMP_DATA 2
#
integer DUMP_STRUCTURE_AND_DATA 3
#