Exemplo n.º 1
0
Arquivo: Form.php Projeto: krecek/nrsn
	/**
	 * Application form constructor.
	 */
	public function __construct(IComponentContainer $parent = NULL, $name = NULL)
	{
		parent::__construct();
		$this->monitor('NPresenter');
		if ($parent !== NULL) {
			$parent->addComponent($this, $name);
		}
	}
Exemplo n.º 2
0
 /**
  */
 public function __construct(IComponentContainer $parent = NULL, $name = NULL)
 {
     if ($parent !== NULL) {
         $parent->addComponent($this, $name);
     } elseif (is_string($name)) {
         $this->name = $name;
     }
 }