Observer/CustomerSaveAfterDataObject/A/GroupSwitch.php
private function registerGroupChange($custId, $groupIdOld, $groupIdNew)
    {
        $data = new EChangeGroup();
        $data->setCustomerRef($custId);
        $data->setGroupOld($groupIdOld);
        $data->setGroupNew($groupIdNew);
        $dateChanged = $this->hlpDate->getUtcNowForDb();
        $data->setDateChanged($dateChanged);
        $this->daoChangeGroup->create($data);
    }
private function registerGroupChange($custId, $groupIdOld, $groupIdNew)
    {
        $data = new EChangeGroup();
        $data->setCustomerRef($custId);
        $data->setGroupOld($groupIdOld);
        $data->setGroupNew($groupIdNew);
        $dateChanged = $this->hlpDate->getUtcNowForDb();
        $data->setDateChanged($dateChanged);
        $this->daoChangeGroup->create($data);
    }
private function registerGroupChange ( $ custId , $ groupIdOld , $ groupIdNew ) { $ data = new EChangeGroup ( ) ; $ data -> setCustomerRef ( $ custId ) ; $ data -> setGroupOld ( $ groupIdOld ) ; $ data -> setGroupNew ( $ groupIdNew ) ; $ dateChanged = $ this -> hlpDate -> getUtcNowForDb ( ) ; $ data -> setDateChanged ( $ dateChanged ) ; $ this -> daoChangeGroup -> create ( $ data ) ; }
Save group change event into registry.

@param int $custId
@param int $groupIdOld
@param int $groupIdNew
Save group change event into registry .