public function get_field_select() : string {
        $fieldlist = $this->get_fieldlist();

        return implode(', ', array_map(function($fieldname, $fieldalias) {
            return "{$this->tablealias}.{$fieldname} AS {$fieldalias}";
        }, $fieldlist, array_keys($fieldlist)));
    }
public function get_field_select() : string {
        $fieldlist = $this->get_fieldlist();

        return implode(', ', array_map(function($fieldname, $fieldalias) {
            return "{$this->tablealias}.{$fieldname} AS {$fieldalias}";
        }, $fieldlist, array_keys($fieldlist)));
    }
public function get_field_select ( ) : string { $ fieldlist = $ this -> get_fieldlist ( ) ; return implode ( ', ' , array_map ( function ( $ fieldname , $ fieldalias ) { return "{$this->tablealias}.{$fieldname} AS {$fieldalias}" ; } , $ fieldlist , array_keys ( $ fieldlist ) ) ) ; }
Get the SELECT SQL to select a set of columns for this table.

This function is intended to be used in combination with extract_from_result().

@return  string      The SQL to use in the SELECT
Get the SELECT SQL to select a set of columns for this table .