/** * @return void */ protected function validateParent(IComponentContainer $parent) { parent::validateParent($parent); $this->monitor('NPresenter'); }
function __construct(IComponentContainer $parent = NULL, $name = NULL) { $this->monitor('NPresenter'); parent::__construct($parent, $name); }
/** * Adds the specified component to the IContainer. * @param IComponent * @param string * @param string * @return self * @throws InvalidStateException */ public function addComponent(IComponent $component, $name, $insertBefore = NULL) { parent::addComponent($component, $name, $insertBefore); if ($this->currentGroup !== NULL && $component instanceof IFormControl) { $this->currentGroup->add($component); } return $this; }