示例#1
0
 /**
  * {@inheritdoc}
  */
 public function __construct(string $label = null)
 {
     parent::__construct($label);
     $this->tabContainer = new TabContainer();
     $this->container->add($this->tabContainer)->addClass('form-tabs');
 }
示例#2
0
 /**
  * {@inheritdoc}
  */
 public function render()
 {
     $deepcopy = new DeepCopy();
     /** @var MultipleGroup $clone */
     $clone = $deepcopy->copy($this);
     $fullRender = $clone->parentRender();
     $this->newContainer->getOptions()->addData('clone', $fullRender);
     return parent::render();
 }