HTMLPurifier_Config::create
Convenience constructor that creates a config object based on a mixed var
Signature
public function create(mixed
$config,
[
$schema = NULL] )
Parameters
$config
— mixed- Variable that defines the state of the config
object. Can be: a HTMLPurifier_Config() object,
an array of directives based on loadArray(),
or a string filename of an ini file. $schema
—
Returns
- Configured
- HTMLPurifier_Config object