Interface

DBMSUtils

Package: IO\DB\dbms Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Loic ROUCHON horn@phpboost.com Version: PHPBoost 5.2 - last update: 2014 12 22 Since: PHPBoost 3.0 - 2009 11 03 Located at: io/db/dbms/DBMSUtils.class.php
Direct known implementers
MySQLDBMSUtils
Methods summary
public
public
public
public
# create_database( $database_name )
public
public
# list_and_desc_tables( $with_prefix = false )
public
# desc_table( $table )
public
# create_table( $table_name, array $fields, array $options = array() )
public
# optimize( $tables )
public
# repair( $tables )
public
# truncate( $tables )
public
# drop( $tables )
public
# add_column( $table_name, $column_name, array $column_description )
public
# drop_column( $table_name, $column_name )
public
# dump_phpboost( FileWriter $file, $what = self::DUMP_STRUCTURE_AND_DATA )
public
# dump_tables( FileWriter $file, array $tables, $what = self::DUMP_STRUCTURE_AND_DATA )
public
# dump_table( FileWriter $file, $table, $what = self::DUMP_STRUCTURE_AND_DATA )
public
# parse_file( File $file, $prefix = '' )
Constants summary
integer DUMP_STRUCTURE
# 1
integer DUMP_DATA
# 2
integer DUMP_STRUCTURE_AND_DATA
# 3
Annonces