Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
wp-content
/
plugins
/
smart-slider-3
/
Nextend
/
SmartSlider3
/
SlideBuilder
:
BuilderComponentRow.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace Nextend\SmartSlider3\SlideBuilder; class BuilderComponentRow extends AbstractBuilderComponent { protected $defaultData = array( "type" => 'row', "name" => 'Row', "cols" => array(), "desktopportraitpadding" => '10|*|10|*|10|*|10|*|px' ); /** @var BuilderComponentCol[] */ private $cols = array(); /** * * @param AbstractBuilderComponent $container */ public function __construct($container) { $container->add($this); } /** * @param $layer BuilderComponentCol */ public function add($layer) { $this->cols[] = $layer; } public function getData() { $this->data['cols'] = array(); foreach ($this->cols as $layer) { $this->data['cols'][] = $layer->getData(); } return parent::getData(); } }