public function options()
    {
        if (!isset($this->_data['options']) || (isset($this->_data['options']) && empty($this->_data['options']))) {
            // No options provided
            return [];
        }
        if (!is_array($this->_data['options'])) {
            // An empty array?
            return [];
        }

        return ([ResourceTable::ALL_SELECT_VALUES_KEY => trans('resource-table::default.All')] + $this->_data['options']);
    }
public function options()
    {
        if (!isset($this->_data['options']) || (isset($this->_data['options']) && empty($this->_data['options']))) {
            // No options provided
            return [];
        }
        if (!is_array($this->_data['options'])) {
            // An empty array?
            return [];
        }

        return ([ResourceTable::ALL_SELECT_VALUES_KEY => trans('resource-table::default.All')] + $this->_data['options']);
    }
public function options ( ) { if ( ! isset ( $ this -> _data [ 'options' ] ) || ( isset ( $ this -> _data [ 'options' ] ) && empty ( $ this -> _data [ 'options' ] ) ) ) { // No options provided return [ ] ; } if ( ! is_array ( $ this -> _data [ 'options' ] ) ) { // An empty array? return [ ] ; } return ( [ ResourceTable :: ALL_SELECT_VALUES_KEY => trans ( 'resource-table::default.All' ) ] + $ this -> _data [ 'options' ] ) ; }
Returns column array with options for searchable form

@return array
Returns column array with options for searchable form