PHPUnit_Extensions_Database_DataSet_QueryTable::getRow PHP 메소드

getRow() 공개 메소드

Returns the an associative array keyed by columns for the given row.
public getRow ( integer $row ) : array
$row integer
리턴 array
    public function getRow($row)
    {
        $this->loadData();
        return parent::getRow($row);
    }

Usage Example

예제 #1
0
 public function testGetRow()
 {
     $this->assertEquals(array('col1' => 'value1', 'col2' => 'value2', 'col3' => 'value3'), $this->table->getRow(0));
 }