Свойство | Тип | Описание | |
---|---|---|---|
$fullReplacements | array | ||
$subStrReplacements | array | ||
$table | PHPUnit_Extensions_Database_DataSet_ITable |
Метод | Описание | |
---|---|---|
__construct ( PHPUnit_Extensions_Database_DataSet_ITable $table, array $fullReplacements = [], array $subStrReplacements = [] ) | Creates a new replacement table | |
__toString ( ) | ||
addFullReplacement ( string $value, string $replacement ) | Adds a new full replacement | |
addSubStrReplacement ( string $value, string $replacement ) | Adds a new substr replacement | |
assertEquals ( PHPUnit_Extensions_Database_DataSet_ITable $other ) | Asserts that the given table matches this table. | |
getRow ( integer $row ) : array | Returns the an associative array keyed by columns for the given row. | |
getRowCount ( ) : integer | Returns the number of rows in this table. | |
getTableMetaData ( ) : PHPUnit_Extensions_Database_DataSet_ITableMetaData | Returns the table's meta data. | |
getValue ( integer $row, integer $column ) | Returns the value for the given column on the given row. |
Метод | Описание | |
---|---|---|
getReplacedValue ( $value ) | ||
rowToString ( array $row ) |
public __construct ( PHPUnit_Extensions_Database_DataSet_ITable $table, array $fullReplacements = [], array $subStrReplacements = [] ) | ||
$table | PHPUnit_Extensions_Database_DataSet_ITable | |
$fullReplacements | array | |
$subStrReplacements | array |
public addFullReplacement ( string $value, string $replacement ) | ||
$value | string | |
$replacement | string |
public addSubStrReplacement ( string $value, string $replacement ) | ||
$value | string | |
$replacement | string |
public assertEquals ( PHPUnit_Extensions_Database_DataSet_ITable $other ) | ||
$other | PHPUnit_Extensions_Database_DataSet_ITable |
public getRowCount ( ) : integer | ||
Результат | integer |
public getTableMetaData ( ) : PHPUnit_Extensions_Database_DataSet_ITableMetaData | ||
Результат | PHPUnit_Extensions_Database_DataSet_ITableMetaData |