Documentation
getElementNode
usage
XMLNode $node = $data->getElementNode()
retourne
the XML node representing the object (contact, group, etc) on which the NQL command is executed.
exemples
class ContactProcessor{
function automaticDependency( /* ModuleProcessingData */ $data ){
$contact = $data->getElementNode();
$contact->appendChild('<DEPENDENCIES><DEPENDENCY type="contactWork" operation="append"><CONTACT ID="2250"/></DEPENDENCY></DEPENDENCIES>');
}
}