DB_dsql::render_table PHP Méthode

render_table() public méthode

Renders part of the template: [table] Do not call directly.
public render_table ( ) : string
Résultat string Parsed template chunk
    public function render_table()
    {
        $ret = array();
        if (!is_array($this->args['table'])) {
            return;
        }
        foreach ($this->args['table'] as $row) {
            list($table, $alias) = $row;
            $table = $this->bt($table);
            if ($alias !== UNDEFINED && $alias) {
                $table .= ' ' . $this->bt($alias);
            }
            $ret[] = $table;
        }
        return implode(',', $ret);
    }