Set an HTMLPurifier config option
See configuration options at: http://htmlpurifier.org/live/configdoc/plain.html
Example
// Set a value for a property
$item->set('foo', 'bar');
// Set a property value directly
$item->foo = 'bar';
// Set a property using array access
$item['foo'] = 'bar';
Usage
$wireData = $markupHTMLPurifier->set(string $key, $value);
Arguments
Name | Type(s) | Description |
---|---|---|
key | string | Name of property you want to set |
value | string, array, mixed | Value of property |
Return value
See Also
MarkupHTMLPurifier methods and properties
API reference based on ProcessWire core version 3.0.236