[ Index ]
 

Code source de b2evolution 2.1.0-beta

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/blogs/inc/xhtml_validator/ -> _xhtml_validator.class.php (sommaire)

This file implements the SafeHtmlChecker class. Checks HTML against a subset of elements to ensure safety and XHTML validation.

Author: blueyed: Daniel HAHLER.
Author: fplanque: Francois PLANQUE.
Author: sakichan: Nobuo SAKIYAMA.
Author: Simon Willison.
Copyright: (c)2003-2007 by Francois PLANQUE - {@link http://fplanque.net/}.
License: http://b2evolution.net/about/license.html GNU General Public License (GPL)
Version: $Id: _xhtml_validator.class.php,v 1.2 2007/09/13 02:37:22 fplanque Exp $
Poids: 306 lignes (10 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

SafeHtmlChecker:: (7 méthodes):
  SafeHtmlChecker()
  check()
  tag_open()
  cdata()
  tag_close()
  html_error()
  isOK()


Classe: SafeHtmlChecker  - X-Ref

SafeHtmlChecker

checks HTML against a subset of elements to ensure safety and XHTML validation.

SafeHtmlChecker( & $allowed_tags, & $allowed_attributes, & $uri_attrs, & $allowed_uri_scheme, $encoding = '' )   X-Ref
Constructor

{@internal This gets tested in _libs.misc.simpletest.php}}

param: array
param: array
param: array
param: array
param: string Input encoding to use ('ISO-8859-1', 'UTF-8', 'US-ASCII' or '' for auto-detect)

check($xhtml)   X-Ref
check(-)


tag_open($parser, $tag, $attrs)   X-Ref
tag_open(-)

Called when the parser finds an opening tag

cdata($parser, $cdata)   X-Ref
cdata(-)


tag_close($parser, $tag)   X-Ref
tag_close(-)


html_error( $string )   X-Ref
Pas de description

isOK()   X-Ref
isOK(-)




Généré le : Thu Nov 29 23:58:50 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics