Core.LexerImpl.txt 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. Core.LexerImpl
  2. TYPE: mixed/null
  3. VERSION: 2.0.0
  4. DEFAULT: NULL
  5. --DESCRIPTION--
  6. <p>
  7. This parameter determines what lexer implementation can be used. The
  8. valid values are:
  9. </p>
  10. <dl>
  11. <dt><em>null</em></dt>
  12. <dd>
  13. Recommended, the lexer implementation will be auto-detected based on
  14. your PHP-version and configuration.
  15. </dd>
  16. <dt><em>string</em> lexer identifier</dt>
  17. <dd>
  18. This is a slim way of manually overridding the implementation.
  19. Currently recognized values are: DOMLex (the default PHP5
  20. implementation)
  21. and DirectLex (the default PHP4 implementation). Only use this if
  22. you know what you are doing: usually, the auto-detection will
  23. manage things for cases you aren't even aware of.
  24. </dd>
  25. <dt><em>object</em> lexer instance</dt>
  26. <dd>
  27. Super-advanced: you can specify your own, custom, implementation that
  28. implements the interface defined by <code>HTMLPurifier_Lexer</code>.
  29. I may remove this option simply because I don't expect anyone
  30. to use it.
  31. </dd>
  32. </dl>
  33. --# vim: et sw=4 sts=4