* @return void
* @throws XmlNodeMismatchException If current main node mismatches the closing one
*/
- public function endElement ($resource, $nodeName) {
+ public function finishElement ($resource, $nodeName) {
// Call the inner class' method
- $this->getTemplateInstance()->endElement($resource, $nodeName);
+ $this->getTemplateInstance()->finishElement($resource, $nodeName);
}
/**
xml_set_object($xmlParser, $templateInstance);
// Set handler call-backs
- xml_set_element_handler($xmlParser, 'startElement', 'endElement');
+ xml_set_element_handler($xmlParser, 'startElement', 'finishElement');
xml_set_character_data_handler($xmlParser, 'characterHandler');
// Now parse the XML tree
* @return void
* @throws XmlNodeMismatchException If current main node mismatches the closing one
*/
- public function endElement ($resource, $nodeName) {
+ public function finishElement ($resource, $nodeName) {
// Make all lower-case
$nodeName = strtolower($nodeName);
* @return void
* @throws XmlNodeMismatchException If current main node mismatches the closing one
*/
- protected function endElement ($resource, $nodeName) {
+ protected function finishElement ($resource, $nodeName) {
// Make all lower-case
$nodeName = strtolower($nodeName);
* @return void
* @throws XmlNodeMismatchException If current main node mismatches the closing one
*/
- public function endElement ($resource, $nodeName) {
+ public function finishElement ($resource, $nodeName) {
// Make all lower-case
$nodeName = strtolower($nodeName);