Exemple #1
0
 public function __construct(InputDirective $inputDirective, ViewSettings $viewSettings)
 {
     parent::__construct($viewSettings);
     $inputDirective->registerInput($this, self::TV_LOGIN);
     $inputDirective->registerInput($this, self::TV_PASSWORD);
     $inputDirective->registerInput($this, self::TV_USERNAME);
     $this->variables[self::TV_REGISTER_URL] = Router::REGISTER;
 }
 public function __construct(InputDirective $inputDirective, ViewSettings $viewSettings)
 {
     parent::__construct($viewSettings);
     $inputDirective->registerInput($this, self::TV_REGISTER);
     $inputDirective->registerInput($this, self::TV_PASSWORD);
     $inputDirective->registerInput($this, self::TV_PASSWORD2);
     $inputDirective->registerInput($this, self::TV_USERNAME);
 }