XML_Transformer::overloadNamespace

XML_Transformer::overloadNamespace –

Synopsis

void XML_Transformer::overloadNamespace ( string namespacePrefix , object object , boolean recursiveOperation )

Description

Overloads an XML Namespace and binds all its elements to a PHP object, that must provide startElement($element, $attributes)() and endElement($element, $cdata)() methods.

If the PHP object provides a initObserver($namespacePrefix, $transformer)() method it is automatically called with the registered namespace prefix and a reference to the XML_Transformer object.

XML_Transformer::overloadElement (Previous) XML_Transformer::isOverloadedElement (Next)
Last updated: Fri, 21 Nov 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.