HEX
Server: Apache/2.4.65 (Debian)
System: Linux web6 5.10.0-36-amd64 #1 SMP Debian 5.10.244-1 (2025-09-29) x86_64
User: innocamp (1028)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /home/buildfft/public_html/wp-content/plugins/smart-slider-3/Nextend/SmartSlider3/SmartSlider3.php
<?php


namespace Nextend\SmartSlider3;


use Nextend\Framework\Localization\Localization;
use Nextend\Framework\Pattern\GetAssetsPathTrait;
use Nextend\Framework\Pattern\SingletonTrait;
use Nextend\Framework\Platform\Platform;
use Nextend\Framework\Plugin;
use Nextend\Nextend;
use Nextend\SmartSlider3\Generator\Common\GeneratorCommonLoader;
use Nextend\SmartSlider3\Generator\Joomla\GeneratorJoomlaLoader;
use Nextend\SmartSlider3\Generator\WordPress\GeneratorWordPressLoader;
use Nextend\SmartSlider3\Platform\SmartSlider3Platform;
use Nextend\SmartSlider3\Slider\ResponsiveType\Auto\ResponsiveTypeAuto;
use Nextend\SmartSlider3\Slider\ResponsiveType\FullWidth\ResponsiveTypeFullWidth;
use Nextend\SmartSlider3\Slider\ResponsiveType\ResponsiveTypeFactory;
use Nextend\SmartSlider3\Slider\SliderType\Block\SliderTypeBlock;
use Nextend\SmartSlider3\Slider\SliderType\Simple\SliderTypeSimple;
use Nextend\SmartSlider3\Slider\SliderType\SliderTypeFactory;

class SmartSlider3 {

    use SingletonTrait, GetAssetsPathTrait;

    protected function init() {

        Platform::getInstance();
        SmartSlider3Platform::getInstance();

        Localization::loadPluginTextDomain(Nextend::getPath() . '/Languages');

        Storage::getInstance();

        Plugin::addAction('PluggableFactorySliderType', array(
            $this,
            'sliderTypes'
        ));

        Plugin::addAction('PluggableFactorySliderResponsiveType', array(
            $this,
            'sliderResponsiveTypes'
        ));

        Plugin::addAction('PluggableFactorySliderGenerator', array(
            $this,
            'sliderGenerator'
        ));


    }

    public function sliderTypes() {
        SliderTypeFactory::addType(new SliderTypeSimple());
        SliderTypeFactory::addType(new SliderTypeBlock());
    }

    public function sliderResponsiveTypes() {
        ResponsiveTypeFactory::addType(new ResponsiveTypeAuto());
        ResponsiveTypeFactory::addType(new ResponsiveTypeFullWidth());
    }

    public function sliderGenerator() {
        new GeneratorCommonLoader();
        new GeneratorWordPressLoader();
    }
}