__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ 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\SlideBuilder;
class BuilderComponentSlide extends AbstractBuilderComponent {
protected $data = array(
'title' => '',
'published' => 1,
'first' => 0,
'description' => '',
'thumbnail' => '',
'ordering' => 0,
'generator_id' => 0,
"static-slide" => 0,
"backgroundColor" => "ffffff00",
"backgroundImage" => "",
"backgroundImageOpacity" => 100,
"backgroundAlt" => "",
"backgroundTitle" => "",
"backgroundMode" => "default",
"backgroundVideoMp4" => "",
"backgroundVideoOpacity" => 100,
"backgroundVideoLoop" => 1,
"backgroundVideoReset" => 1,
"backgroundVideoMode" => "fill",
"href" => "",
"href-target" => "",
"slide-duration" => 0,
"desktopportraitpadding" => '10|*|10|*|10|*|10'
);
/** @var AbstractBuilderComponent[] */
private $layers = array();
/** @var BuilderComponentContent */
public $content;
public function __construct($properties = array()) {
foreach ($properties as $k => $v) {
$this->data[$k] = $v;
}
$this->content = new BuilderComponentContent($this);
}
/**
* @param $layer AbstractBuilderComponent
*/
public function add($layer) {
array_unshift($this->layers, $layer);
}
public function getData() {
$this->data['layers'] = array();
foreach ($this->layers as $layer) {
$this->data['layers'][] = $layer->getData();
}
return parent::getData();
}
public function getLayersData() {
$data = $this->getData();
return $data['layers'];
}
}| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| AbstractBuilderComponent.php | File | 781 B | 0664 |
|
| BuilderComponentCol.php | File | 1.1 KB | 0664 |
|
| BuilderComponentContent.php | File | 913 B | 0664 |
|
| BuilderComponentItem.php | File | 932 B | 0664 |
|
| BuilderComponentLayer.php | File | 3.04 KB | 0664 |
|
| BuilderComponentRow.php | File | 930 B | 0664 |
|
| BuilderComponentSlide.php | File | 1.9 KB | 0664 |
|