void endElement(
string
$name)
|
|
Gets invoked when a XML element ends.
Can be overloaded by the child class. But should not. It hands over control to the parentHandler of this.
Tags:
Overridden in child classes as:
- DataTypeHandler::endElement()
- Overrides endElement for data types. Tells the type handler that processing the element had been finished so handlers know they can perform actions that need to be based on the data contained within the element.
Parameters:
void startElement(
string
$name, array
$attribs)
|
|
Gets invoked when a XML open tag occurs
Must be overloaded by the child class. Throws an ExpatParseException if there is no handler registered for an element.
Tags:
Overridden in child classes as:
- NestedElementHandler::startElement()
- Checks for nested tags within the current one. Creates and calls handlers respectively.
- TargetHandler::startElement()
- Checks for nested tags within the current one. Creates and calls handlers respectively.
- DataTypeHandler::startElement()
- Checks for nested tags within the current one. Creates and calls handlers respectively.
- TaskHandler::startElement()
- Checks for nested tags within the current one. Creates and calls handlers respectively.
- ProjectHandler::startElement()
- Handles start elements within the <project> tag by creating and calling the required handlers for the detected element.
- RootHandler::startElement()
- Kick off a custom action for a start element tag.
Parameters: