Documentation
getID
usage
Number $ID = $data->getID();
retourne
The ID of the object on which the NQL command was executed
exemples
class ContactProcessor{
function checkAdministrator( /* ModuleProcessingData */ $data ){
if($data->getID()==1857){
return new SusheeProcessorException('You cannot delete the administrator');
}
}
}