private function _get_grid_option($key, $default = null) { if (empty($this->_grid)) { return $default; } else { return $this->_grid->get_option($key); } }
public function test__construct() { $grid = new org_openpsa_widgets_grid('test', 'local'); $this->assertEquals('local', $grid->get_option('datatype')); }