PHP Class PHPUnit_Extensions_Database_DB_MetaData_Sqlite, dbunit

Inheritance: extends PHPUnit_Extensions_Database_DB_MetaData
Mostra file Open project: sebastianbergmann/dbunit

Protected Properties

Property Type Description
$columns
$keys
$truncateCommand

Public Methods

Method Description
getTableColumns ( string $tableName ) : array Returns an array containing the names of all the columns in the $tableName table,
getTableNames ( ) : array Returns an array containing the names of all the tables in the database.
getTablePrimaryKeys ( string $tableName ) : array Returns an array containing the names of all the primary key columns in the $tableName table.

Protected Methods

Method Description
loadColumnInfo ( string $tableName ) Loads column info from a sqlite database.

Method Details

getTableColumns() public method

Returns an array containing the names of all the columns in the $tableName table,
public getTableColumns ( string $tableName ) : array
$tableName string
return array

getTableNames() public method

Returns an array containing the names of all the tables in the database.
public getTableNames ( ) : array
return array

getTablePrimaryKeys() public method

Returns an array containing the names of all the primary key columns in the $tableName table.
public getTablePrimaryKeys ( string $tableName ) : array
$tableName string
return array

loadColumnInfo() protected method

Loads column info from a sqlite database.
protected loadColumnInfo ( string $tableName )
$tableName string

Property Details

$columns protected_oe property

protected $columns

$keys protected_oe property

protected $keys

$truncateCommand protected_oe property

protected $truncateCommand