protected function getFields()
    {
        if (is_null($this->fields)) {
            $columns = $this->getColumns();

            if (empty($columns)) {
                throw new Exception('The table ' . $this->tableName . ' was not found in the ' . $this->databaseName . ' database.');
            }

            $this->fields = $this->transfer($columns);
        }

        return $this->fields;
    }
protected function getFields()
    {
        if (is_null($this->fields)) {
            $columns = $this->getColumns();

            if (empty($columns)) {
                throw new Exception('The table ' . $this->tableName . ' was not found in the ' . $this->databaseName . ' database.');
            }

            $this->fields = $this->transfer($columns);
        }

        return $this->fields;
    }
protected function getFields ( ) { if ( is_null ( $ this -> fields ) ) { $ columns = $ this -> getColumns ( ) ; if ( empty ( $ columns ) ) { throw new Exception ( 'The table ' . $ this -> tableName . ' was not found in the ' . $ this -> databaseName . ' database.' ) ; } $ this -> fields = $ this -> transfer ( $ columns ) ; } return $ this -> fields ; }
Gets the final fields.

@return array
Gets the final fields .