public function getFields($table = null)
    {
        if (null == $table) {
            $table = $this->oosql_table;
        }
        $newFields = array();
        foreach ($this->oosql_fields as $field) {
            $newFields[] = $table . '.' . $field;
        }
        return $newFields;
    }
public function getFields($table = null)
    {
        if (null == $table) {
            $table = $this->oosql_table;
        }
        $newFields = array();
        foreach ($this->oosql_fields as $field) {
            $newFields[] = $table . '.' . $field;
        }
        return $newFields;
    }
public function getFields ( $ table = null ) { if ( null == $ table ) { $ table = $ this -> oosql_table ; } $ newFields = array ( ) ; foreach ( $ this -> oosql_fields as $ field ) { $ newFields [ ] = $ table . '.' . $ field ; } return $ newFields ; }
Get an array of fields of the current or given table
@param mixed $table table name
@return array Table fields
Get an array of fields of the current or given table