Ejemplo n.º 1
0
 /**
  * If user inserted a username inside the form then get that username
  * so that it can be displayed on the form when the web page loads.
  */
 public function __construct()
 {
     self::$username = $this->checkUserNameInCookie();
 }
Ejemplo n.º 2
0
 /**
  * @param \model\LoginModel $model
  */
 public function __construct(\model\LoginModel $model)
 {
     self::$sessionSaveLocation .= \Settings::APP_SESSION_NAME;
     self::$logout = \Settings::LOGOUT;
     $this->model = $model;
 }
 /**
  * Creates the view
  *
  * @param \model\LoginModel $model
  */
 public function __construct(\model\LoginModel $model)
 {
     self::$LoginModel = $model;
 }