HTMLPurifier_HTMLDefinition::doSetup PHP Méthode

doSetup() protected méthode

protected doSetup ( HTMLPurifier_Config $config )
$config HTMLPurifier_Config
    protected function doSetup($config)
    {
        $this->processModules($config);
        $this->setupConfigStuff($config);
        unset($this->manager);
        // cleanup some of the element definitions
        foreach ($this->info as $k => $v) {
            unset($this->info[$k]->content_model);
            unset($this->info[$k]->content_model_type);
        }
    }