src/Table/Table.php
protected function getFields()
  {
    $fields = $this->db->getTableColumns($this->tbl);
    if ( empty($fields) ){
      throw new TableException('Table columns not found');
    }
    
    return $fields;
  }
protected function getFields()
  {
    $fields = $this->db->getTableColumns($this->tbl);
    if ( empty($fields) ){
      throw new TableException('Table columns not found');
    }
    
    return $fields;
  }
protected function getFields ( ) { $ fields = $ this -> db -> getTableColumns ( $ this -> tbl ) ; if ( empty ( $ fields ) ) { throw new TableException ( 'Table columns not found' ) ; } return $ fields ; }
Get the object fields from database table columns

@return array  The list of table properties
Get the object fields from database table columns