HTMLPurifier_Lexer::create
Retrieves or sets the default Lexer as a Prototype Factory.
By default HTMLPurifier_Lexer_DOMLex will be returned. There are a few exceptions involving special features that only DirectLex implements.
Signature
public function create(Instance
$config )
Parameters
$config
— object- of HTMLPurifier_Config
Returns
- Concrete
- lexer.