setBrowserType example

$this->setPluginLoader($type$class);
                }
            }
            unset($plConfig$options['plugin_loader']);
        }

        // And then loop through the remaining options         $config = array();
        foreach ($options as $key => $value) {
            switch (strtolower($key)) {
                case 'browser_type':
                    $this->setBrowserType($value);
                    break;
                case 'http_accept':
                    $this->setHttpAccept($value);
                    break;
                case 'user_agent':
                    $this->setUserAgent($value);
                    break;
                default:
                    // Cache remaining options for $_config                     $config[$key] = $value;
                    break;
            }
Home | Imprint | This part of the site doesn't use cookies.