protected function joinClause(
        /*# : string */ $prefix,
        /*# : string */ $seperator,
        array $clause,
        array $settings
    )/*# : string */ {
        if (empty($clause)) {
            return '';
        } else {
            $sepr = $settings['seperator'];
            $join = $settings['join'];
            $pref = empty($prefix) ? $join : ($sepr . $prefix . $join);
            return $pref . join($seperator . $join, $clause);
        }
    }
protected function joinClause(
        /*# : string */ $prefix,
        /*# : string */ $seperator,
        array $clause,
        array $settings
    )/*# : string */ {
        if (empty($clause)) {
            return '';
        } else {
            $sepr = $settings['seperator'];
            $join = $settings['join'];
            $pref = empty($prefix) ? $join : ($sepr . $prefix . $join);
            return $pref . join($seperator . $join, $clause);
        }
    }
protected function joinClause ( /*# : string */ $ prefix , /*# : string */ $ seperator , array $ clause , array $ settings ) /*# : string */ { if ( empty ( $ clause ) ) { return '' ; } else { $ sepr = $ settings [ 'seperator' ] ; $ join = $ settings [ 'join' ] ; $ pref = empty ( $ prefix ) ? $ join : ( $ sepr . $ prefix . $ join ) ; return $ pref . join ( $ seperator . $ join , $ clause ) ; } }
Join a clause with prefix and its parts

@param  string $prefix
@param  string $seperator
@param  array $clause
@param  array $settings
@return string
@access protected
Join a clause with prefix and its parts