_setRegexps example


    public function __construct(array $options = array())
    {
        while (list($name$value) = each($options)) {
            $name = strtolower($name);
            switch ($name) {
                case 'regexps':
                    $this->_setRegexps($value);
                    break;
                case 'default_options':
                    $this->_setDefaultOptions($value);
                    break;
                case 'content_type_memorization':
                    $this->_setContentTypeMemorization($value);
                    break;
                default:
                    $this->setOption($name$value);
            }
        }
        
Home | Imprint | This part of the site doesn't use cookies.