function _parseOptions($array)
    {
        foreach ($array as $key => $value) {
            if (isset($this->options[$key])) {
                $this->options[$key] = $value;
            }
        }

        /* Include additional fields if they exist */
        if(!empty($this->options['db_fields'])){
            if(is_array($this->options['db_fields'])){
                $this->options['db_fields'] = join($this->options['db_fields'], ', ');
            }
            $this->options['db_fields'] = ', '.$this->options['db_fields'];
        }
    }
function _parseOptions($array)
    {
        foreach ($array as $key => $value) {
            if (isset($this->options[$key])) {
                $this->options[$key] = $value;
            }
        }

        /* Include additional fields if they exist */
        if(!empty($this->options['db_fields'])){
            if(is_array($this->options['db_fields'])){
                $this->options['db_fields'] = join($this->options['db_fields'], ', ');
            }
            $this->options['db_fields'] = ', '.$this->options['db_fields'];
        }
    }
function _parseOptions ( $ array ) { foreach ( $ array as $ key => $ value ) { if ( isset ( $ this -> options [ $ key ] ) ) { $ this -> options [ $ key ] = $ value ; } } /* Include additional fields if they exist */ if ( ! empty ( $ this -> options [ 'db_fields' ] ) ) { if ( is_array ( $ this -> options [ 'db_fields' ] ) ) { $ this -> options [ 'db_fields' ] = join ( $ this -> options [ 'db_fields' ] , ', ' ) ; } $ this -> options [ 'db_fields' ] = ', ' . $ this -> options [ 'db_fields' ] ; } }
Parse options passed to the container class

@access private
@param  array
Parse options passed to the container class