Example #1
0
 /**
  * Application form constructor.
  */
 public function __construct(Nette\ComponentModel\IContainer $parent = NULL, $name = NULL)
 {
     parent::__construct();
     if ($parent !== NULL) {
         $parent->addComponent($this, $name);
     }
 }
Example #2
0
 /**
  * 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;
     }
 }