HTMLPurifier_ConfigSchema::__construct PHP Method

__construct() public method

public __construct ( )
    public function __construct()
    {
        $this->defaultPlist = new HTMLPurifier_PropertyList();
    }

Usage Example

 /**
  * {@inheritDoc}
  */
 public function __construct()
 {
     parent::__construct();
     $instance = static::instance();
     $this->defaults = $instance->defaults;
     $this->add('AutoFormat.LinkifyWithTextLengthLimit.Limit', null, 'mixed', true);
     $this->add('AutoFormat.LinkifyWithTextLengthLimit.Suffix', ' ...', 'string', true);
     $this->add('AutoFormat.LinkifyWithTextLengthLimit.RemoveProtocol', true, 'bool', false);
 }