<?php

class N2SmartSliderBackupCarousel
{

    /**
     * @param N2SmartSliderExport      $export
     * @param                          $slider
     */
    public static function export($export, $slider) {
        $export->addImage($slider['params']->get('background', ''));
    }

    /**
     * @param N2SmartSliderImport      $import
     * @param                          $slider
     */
    public static function import($import, $slider) {

        $slider['params']->set('background', $import->fixImage($slider['params']->get('background', '')));
    }
}