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

Class: HTMLFilter

Source Location: /XML_SaxFilters-0.3.0/docs/examples/htmlfilter.php

Class Overview

XML_SaxFilters_AbstractFilter
   |
   --HTMLFilter

Reconstructs the HTML - this filter is chained directly to the parser. By


Variables

Methods


Inherited Variables

Inherited Methods

Class: XML_SaxFilters_AbstractFilter

XML_SaxFilters_AbstractFilter::attachToParent()
Calls the parent setChild() method allow a child filter
XML_SaxFilters_AbstractFilter::close()
Sax end element handler
XML_SaxFilters_AbstractFilter::data()
Sax character data handler
XML_SaxFilters_AbstractFilter::detachFromParent()
Calls the parent unsetChild() method removing any child filter
XML_SaxFilters_AbstractFilter::endDoc()
End of parsing handler
XML_SaxFilters_AbstractFilter::escape()
Escape handler (PEAR::XML_HTMLSax only)
XML_SaxFilters_AbstractFilter::getWriter()
Unsets the writer
XML_SaxFilters_AbstractFilter::jasp()
JSP/ASP markup handler (PEAR::XML_HTMLSax only)
XML_SaxFilters_AbstractFilter::open()
Sax start element handler
XML_SaxFilters_AbstractFilter::pi()
Sax processing instruction handler
XML_SaxFilters_AbstractFilter::setChild()
Sets the child filter to which events are delegated
XML_SaxFilters_AbstractFilter::setParent()
Sets the parent filter allow the child to talk back
XML_SaxFilters_AbstractFilter::setWriter()
Sets the writer
XML_SaxFilters_AbstractFilter::startDoc()
Start of parsing handler
XML_SaxFilters_AbstractFilter::unsetChild()
Unsets the child filter
XML_SaxFilters_AbstractFilter::unsetParent()
Breaks the connection to from the child to the parent filter.
XML_SaxFilters_AbstractFilter::__destroy()
Called whenever a filter is unset. Provides a clean up state where

Class Details

[line 97]
Reconstructs the HTML - this filter is chained directly to the parser. By

chaining the WhitespaceFilter and TagsToLowerFilter filter to this filters, it's possible to modify the incoming XML stream before it is handled by HTMLFilter



[ Top ]


Class Variables

$html =  ''

[line 98]


Type:   mixed


[ Top ]



Method Detail

close   [line 118]

void close( &$tag, $empty)


Overrides XML_SaxFilters_AbstractFilter::close() (Sax end element handler)

Parameters:

   &$tag   — 
   $empty   — 

[ Top ]

data   [line 125]

void data( &$data)


Overrides XML_SaxFilters_AbstractFilter::data() (Sax character data handler)

Parameters:

   &$data   — 

[ Top ]

escape   [line 130]

void escape( &$data)


Overrides XML_SaxFilters_AbstractFilter::escape() (Escape handler (PEAR::XML_HTMLSax only))

Parameters:

   &$data   — 

[ Top ]

getHTML   [line 134]

void getHTML( )


[ Top ]

open   [line 99]

void open( &$tag, &$attrs, $empty)


Overrides XML_SaxFilters_AbstractFilter::open() (Sax start element handler)

Parameters:

   &$tag   — 
   &$attrs   — 
   $empty   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 10:15:10 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.