XML_Transformer::overloadElement –


void XML_Transformer::overloadElement ( string element , string startHandler , string endHandler , boolean recursiveOperation )


Overloads an XML element and binds its opening and closing tags to a PHP callback. A PHP callback can be one of the following:

  • A PHP Function.
  • A PHP Method on an object.
  • A static PHP Method.

The optional fourth parameter can be used to override the global setting for recursive operation.