CommonDBTM::post_deleteItem PHP Method

post_deleteItem() public method

Actions done after the DELETE (mark as deleted) of the item in the database
public post_deleteItem ( ) : nothing
return nothing
    function post_deleteItem()
    {
    }

Usage Example

 function post_deleteItem()
 {
     $pfIPRange_ConfigSecurity = new PluginFusioninventoryIPRange_ConfigSecurity();
     $a_data = getAllDatasFromTable('glpi_plugin_fusioninventory_ipranges_configsecurities', "`plugin_fusioninventory_ipranges_id`='" . $this->fields['id'] . "'");
     foreach ($a_data as $data) {
         $pfIPRange_ConfigSecurity->delete($data);
     }
     parent::post_deleteItem();
 }
CommonDBTM