private static function _getOptions($options, $default)
    {
        if (is_array($options)) {
            foreach ($default as $key => $value) {
                if (isset($options[$key])) {
                    $default[$key] = $options[$key];
                }
            }
        }

        return $default;
    }
private static function _getOptions($options, $default)
    {
        if (is_array($options)) {
            foreach ($default as $key => $value) {
                if (isset($options[$key])) {
                    $default[$key] = $options[$key];
                }
            }
        }

        return $default;
    }
private static function _getOptions ( $ options , $ default ) { if ( is_array ( $ options ) ) { foreach ( $ default as $ key => $ value ) { if ( isset ( $ options [ $ key ] ) ) { $ default [ $ key ] = $ options [ $ key ] ; } } } return $ default ; }
Return a mixed array of options according the defaults values provided

@access private
@param  array $options
@param  array $default
@return array The final options
Return a mixed array of options according the defaults values provided