File "TraitFieldset.php"
Full Path: /home2/sdektunc/cepali.edu.mx/wp-content/plugins/smart-slider-3/Nextend/Framework/Form/TraitFieldset.php
File size: 899 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace Nextend\Framework\Form;
trait TraitFieldset {
use TraitContainer;
/**
* @var AbstractField
*/
protected $first, $last;
/**
* @var bool
*/
protected $isVisible = true;
public function hide() {
$this->isVisible = false;
}
/**
* @return ContainerInterface
*/
public function getParent() {
return $this->parent;
}
public function getPath() {
return $this->getParent()
->getPath() . '/' . $this->name;
}
public function renderContainer() {
}
abstract public function getControlName();
/**
* @return Form
*/
abstract public function getForm();
/**
* @param AbstractField $element
*
* @return string
*/
abstract public function decorateElement($element);
abstract public function getName();
}