protected function _fields()
    {
        $schema = $this->_table->getSchema();
        $fields = $schema->columns();
        if ($this->_config['fields'] !== null) {
            $fields = array_intersect($fields, (array)$this->_config['fields']);
        }

        return $fields;
    }
protected function _fields()
    {
        $schema = $this->_table->getSchema();
        $fields = $schema->columns();
        if ($this->_config['fields'] !== null) {
            $fields = array_intersect($fields, (array)$this->_config['fields']);
        }

        return $fields;
    }
protected function _fields ( ) { $ schema = $ this -> _table -> getSchema ( ) ; $ fields = $ schema -> columns ( ) ; if ( $ this -> _config [ 'fields' ] !== null ) { $ fields = array_intersect ( $ fields , ( array ) $ this -> _config [ 'fields' ] ) ; } return $ fields ; }
Returns an array of fields to be versioned.

@return array
Returns an array of fields to be versioned .