public function onAfterImport($element, array $data)
    {
        $event = new ImportEvent(array(
            'element' => $element,
            'value' => $data
        ));

        $this->trigger($this::EVENT_AFTER_IMPORT_ELEMENT, $event);
    }
public function onAfterImport($element, array $data)
    {
        $event = new ImportEvent(array(
            'element' => $element,
            'value' => $data
        ));

        $this->trigger($this::EVENT_AFTER_IMPORT_ELEMENT, $event);
    }
public function onAfterImport ( $ element , array $ data ) { $ event = new ImportEvent ( array ( 'element' => $ element , 'value' => $ data ) ) ; $ this -> trigger ( $ this :: EVENT_AFTER_IMPORT_ELEMENT , $ event ) ; }
Fires an 'onAfterImport' event.

@param Event $event
$event->params['element'] - model that was imported
$event->params['value'] - data used to create the element model

@return null
Fires an onAfterImport event .