7.7. Opt_Compiler_Processor class
7.7.10. postprocessNode()
7.7.9. postprocessAttribute()
« Previous
7.7.11. processAttribute()
Next »

7.7.10. postprocessNode()

ConstructOptional method for implementation by the programmer
Visibilitypublic
Referencevoid postprocessNode(Opt_Xml_Node $node)
Argument list
$node - Opt_Xml_Node
The node to process.

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 postprocess to 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()