first
This commit is contained in:
@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace Nextend\SmartSlider3\Widget\Bullet;
|
||||
|
||||
|
||||
use Nextend\Framework\Platform\Platform;
|
||||
use Nextend\Framework\Url\Url;
|
||||
use Nextend\SmartSlider3\Widget\AbstractWidgetFrontend;
|
||||
|
||||
abstract class AbstractBulletFrontend extends AbstractWidgetFrontend {
|
||||
|
||||
public function __construct($sliderWidget, $widget, $params) {
|
||||
|
||||
parent::__construct($sliderWidget, $widget, $params);
|
||||
|
||||
if ($params->get($this->key . 'thumbnail-show-image')) {
|
||||
$this->slider->exposeSlideData['thumbnail'] = true;
|
||||
}
|
||||
|
||||
$this->addToPlacement($this->key . 'position-', array(
|
||||
$this,
|
||||
'render'
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
public function getCommonAssetsUri() {
|
||||
return Url::pathToUri($this->getCommonAssetsPath());
|
||||
}
|
||||
|
||||
public function getCommonAssetsPath() {
|
||||
|
||||
return Platform::filterAssetsPath(dirname(__FILE__) . '/Assets');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user