classes/helper/AbstractImportModel.php
protected function fireBeforeImportEvent()
    {
        $arEventData = [$this->getModelClass(), $this->arImportData];

        $arEventData = Event::fire(self::EVENT_BEFORE_IMPORT, $arEventData);
        if (empty($arEventData)) {
            return;
        }

        foreach ($arEventData as $arModelData) {
            if (empty($arModelData)) {
                continue;
            }

            foreach ($arModelData as $sKey => $sValue) {
                $this->arImportData[$sKey] = $sValue;
            }
        }
    }
protected function fireBeforeImportEvent()
    {
        $arEventData = [$this->getModelClass(), $this->arImportData];

        $arEventData = Event::fire(self::EVENT_BEFORE_IMPORT, $arEventData);
        if (empty($arEventData)) {
            return;
        }

        foreach ($arEventData as $arModelData) {
            if (empty($arModelData)) {
                continue;
            }

            foreach ($arModelData as $sKey => $sValue) {
                $this->arImportData[$sKey] = $sValue;
            }
        }
    }
protected function fireBeforeImportEvent ( ) { $ arEventData = [ $ this -> getModelClass ( ) , $ this -> arImportData ] ; $ arEventData = Event :: fire ( self :: EVENT_BEFORE_IMPORT , $ arEventData ) ; if ( empty ( $ arEventData ) ) { return ; } foreach ( $ arEventData as $ arModelData ) { if ( empty ( $ arModelData ) ) { continue ; } foreach ( $ arModelData as $ sKey => $ sValue ) { $ this -> arImportData [ $ sKey ] = $ sValue ; } } }
Fire beforeImport event and update import data array
Fire beforeImport event and update import data array