PHP Interface PHPUnit_Extensions_Database_DataSet_ITableMetaData, qcodo

Author: Mike Lively ([email protected])
Datei anzeigen Open project: qcodo/qcodo Interface Usage Examples

Public Methods

Method Description
assertEquals ( PHPUnit_Extensions_Database_DataSet_ITableMetaData $other ) Asserts that the given tableMetaData matches this tableMetaData.
getColumns ( ) : array Returns the names of the columns in the table.
getPrimaryKeys ( ) : array Returns the names of the primary key columns in the table.
getTableName ( ) : string Returns the name of the table.

Method Details

assertEquals() public method

Asserts that the given tableMetaData matches this tableMetaData.
public assertEquals ( PHPUnit_Extensions_Database_DataSet_ITableMetaData $other )
$other PHPUnit_Extensions_Database_DataSet_ITableMetaData

getColumns() public method

Returns the names of the columns in the table.
public getColumns ( ) : array
return array

getPrimaryKeys() public method

Returns the names of the primary key columns in the table.
public getPrimaryKeys ( ) : array
return array

getTableName() public method

Returns the name of the table.
public getTableName ( ) : string
return string