public getColumns ( ) : array | ||
return | array | Example: array( 'column1' => VALUE, 'label' => 'www.php.net' 'nb_visits' => 15894, ) |
public function getColumns()
{
return $this->getArrayCopy();
}
public function test_getColumns_shouldNotConvertNullValuesToFalse() { $this->row->setColumns(array('nb_visits' => null, 'label' => 'Test', 'closure' => function () { return null; }, 'boolean' => false)); $expected = array('nb_visits' => null, 'label' => 'Test', 'closure' => null, 'boolean' => false); $this->assertSame($expected, $this->row->getColumns()); }