protected function _mainFields()
    {
        $fields = $this->getConfig('mainTableFields');

        if ($fields) {
            return $fields;
        }

        $table = $this->_table;
        $fields = $table->getSchema()->columns();

        $this->setConfig('mainTableFields', $fields);

        return $fields;
    }
protected function _mainFields()
    {
        $fields = $this->getConfig('mainTableFields');

        if ($fields) {
            return $fields;
        }

        $table = $this->_table;
        $fields = $table->getSchema()->columns();

        $this->setConfig('mainTableFields', $fields);

        return $fields;
    }
protected function _mainFields ( ) { $ fields = $ this -> getConfig ( 'mainTableFields' ) ; if ( $ fields ) { return $ fields ; } $ table = $ this -> _table ; $ fields = $ table -> getSchema ( ) -> columns ( ) ; $ this -> setConfig ( 'mainTableFields' , $ fields ) ; return $ fields ; }
Lazy define and return the main table fields

@return array
Lazy define and return the main table fields