public function getColumnList($columns, $delim = ',')
    {
        $list = array();
        foreach ($columns as $col) {
            if ($col instanceof Column) {
                $col = $col->getName();
            }
            $list[] = $col;
        }

        return implode($delim, $list);
    }
public function getColumnList($columns, $delim = ',')
    {
        $list = array();
        foreach ($columns as $col) {
            if ($col instanceof Column) {
                $col = $col->getName();
            }
            $list[] = $col;
        }

        return implode($delim, $list);
    }
public function getColumnList ( $ columns , $ delim = ',' ) { $ list = array ( ) ; foreach ( $ columns as $ col ) { if ( $ col instanceof Column ) { $ col = $ col -> getName ( ) ; } $ list [ ] = $ col ; } return implode ( $ delim , $ list ) ; }
Creates a delimiter-delimited string list of column names

@see        Platform::getColumnList() if quoting is required

@param      array Column[] or string[]
@param string $delim The delimiter to use in separating the column names.

@return string
Creates a delimiter - delimited string list of column names