Chumper\Datatable\Table::getOptions PHP Method

getOptions() public method

public getOptions ( ) : array
return array
    public function getOptions()
    {
        return $this->options;
    }

Usage Example

Beispiel #1
0
 public function testSetUrl()
 {
     $this->table->setUrl('foo/url');
     $this->assertArrayHasKey('bServerSide', $this->table->getOptions());
     $this->assertArrayHasKey('sAjaxSource', $this->table->getOptions());
     $return = $this->table->getOptions();
     $this->assertEquals('foo/url', $return['sAjaxSource']);
 }