- 7.7. Opt_Compiler_Processor class
7.7.10. postprocessNode() - 7.7.9. postprocessAttribute()
« Previous - 7.7.11. processAttribute()
Next »
7.7.10. postprocessNode()
| Construct | Optional method for implementation by the programmer |
|---|---|
| Visibility | public |
| Reference | void postprocessNode(Opt_Xml_Node $node) |
| Argument list |
|
Processes the registered instruction tags after their children have already been parsed, too. You must extend this method, if you want to write your own implementation.
The compiler calls this method if and only if we set the XML node value
postprocessto true.
public function processNode(Opt_Xml_Node $node) { // The node must be postprocessed after the children nodes are parsed. $node->set('postprocess', true); } // end processNode(); public function postprocessNode(Opt_Xml_Node $node) { echo 'Hello world!'; } // end postprocessNode();
See also:
- 7.7.10. postprocessNode()
7.7. Opt_Compiler_Processor class - « Previous
7.7.9. postprocessAttribute() - Next »
7.7.11. processAttribute()