/** * Application form constructor. */ public function __construct(Nette\ComponentModel\IContainer $parent = NULL, $name = NULL) { parent::__construct(); if ($parent !== NULL) { $parent->addComponent($this, $name); } }
/** * Application form constructor. */ public function __construct(Nette\ComponentModel\IContainer $parent = NULL, $name = NULL) { parent::__construct(); $this->monitor('Nette\\Application\\UI\\Presenter'); if ($parent !== NULL) { $parent->addComponent($this, $name); } }
/** */ public function __construct(IContainer $parent = null, $name = null) { if ($parent !== null) { $parent->addComponent($this, $name); } elseif (is_string($name)) { $this->name = $name; } }