b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (CVS HEAD) [ class tree: evocore ] [ index: evocore ] [ all elements ]

Class: XHTML_Validator

Source Location: /blogs/inc/xhtml_validator/_xhtml_validator.class.php

Class XHTML_Validator

Property Summary
mixed   $allowed_uri_scheme  
mixed   $error  
mixed   $last_checked_pos  
mixed   $parser  
mixed   $stack  
mixed   $tagattrs  
mixed   $tags  
mixed   $uri_attrs  

[ Top ]
Method Summary
XHTML_Validator   XHTML_Validator()   Constructor
void   cdata()   cdata(-)
void   check()   check(-)
void   html_error()  
void   isOK()   isOK(-)
void   tag_close()   tag_close(-)
void   tag_open()   tag_open(-)

[ Top ]
Properties
mixed   $allowed_uri_scheme [line 59]

[ Top ]
mixed   $error [line 65]

[ Top ]
mixed   $last_checked_pos [line 64]

[ Top ]
mixed   $parser [line 62]

[ Top ]
mixed   $stack = array() [line 63]

[ Top ]
mixed   $tagattrs [line 57]

[ Top ]
mixed   $tags [line 56]

[ Top ]
mixed   $uri_attrs [line 58]

[ Top ]
Methods
Constructor XHTML_Validator  [line 80]

  XHTML_Validator XHTML_Validator( [string $context = 'posting'], [boolean $allow_css_tweaks = false], [boolean $allow_iframes = false], [boolean $allow_javascript = false], [boolean $allow_objects = false], [string $encoding = NULL], [string $msg_type = 'error']  )

Constructor

Parameters:
string   $context:  Context
boolean   $allow_css_tweaks:  Allow CSS tweaks?
boolean   $allow_iframes:  Allow IFrames?
boolean   $allow_javascript:  Allow Javascript?
boolean   $allow_objects:  Allow Objects?
string   $encoding:  Input encoding to use ('ISO-8859-1', 'UTF-8', 'US-ASCII' or '' for auto-detect)
string   $msg_type:  Message type for errors


[ Top ]
cdata  [line 295]

  void cdata( $parser, $cdata  )

cdata(-)

Parameters:
   $parser: 
   $cdata: 


[ Top ]
check  [line 161]

  void check( $xhtml  )

check(-)

Parameters:
   $xhtml: 


[ Top ]
html_error  [line 323]

  void html_error( $string  )

Parameters:
   $string: 


[ Top ]
isOK  [line 333]

  void isOK( )

isOK(-)



[ Top ]
tag_close  [line 315]

  void tag_close( $parser, $tag  )

tag_close(-)

Parameters:
   $parser: 
   $tag: 


[ Top ]
tag_open  [line 234]

  void tag_open( $parser, $tag, $attrs  )

tag_open(-)

Called when the parser finds an opening tag

Parameters:
   $parser: 
   $tag: 
   $attrs: 


[ Top ]

Documentation generated on Sat, 06 Mar 2010 04:28:17 +0100 by phpDocumentor 1.4.2. This site is hosted and maintained by Daniel HAHLER (Contact).