kses
[ class tree: kses ] [ index: kses ] [ all elements ]

Procedural File: php5.class.kses.php

Source Location: /main/inc/lib/kses-0.2.2/oop/php5.class.kses.php



Classes:

kses5
Kses strips evil scripts!


Page Details:

Class file for PHP5 OOP version of kses

This is an updated version of kses to work with PHP5 that works under E_STRICT.

This version is a bit of a rewrite to match my own coding style and use some of the capabilities allowed in PHP5. Since this was a significant rewrite, but it still maintains backward compatibility syntax-wise, the version number is now 1.0.0. Any minor changes that do not break compatibility will be indicated in the second or third digits. Anything that breaks compatibility will change the major version number.

PHP5 specific changes:

  • Private methods are now in place
  • __construct() is now used rather then the standard class name 'kses()'
  • Kses will not load in any version less that PHP5
Other modifications:
  • PHPdoc style documentation has been added to the class. See http://www.phpdoc.org/ for more info.
  • Method names have been changed to reflect status as verbs
  • One line methods have been folded into the code
  • Some methods are now deprecated due to nomenclature style change. See method documentation for specifics.
  • Kses5 now works in E_STRICT
  • Version number is 1.0.0 to reflect serious code changes
  • Addition of methods AddProtocols(), filterKsestextHook(), RemoveProtocol(), RemoveProtocols() and SetProtocols()
  • Deprecated _hook(), Protocols()




Tags:

filesource:  Source Code for this file







KSES_CLASS_PHP5 [line 63]

KSES_CLASS_PHP5 = true
Only install KSES5 once


[ Top ]




Documentation generated on Thu, 12 Jun 2008 14:12:39 -0500 by phpDocumentor 1.4.1