Exemplo n.º 1
0
 public function setLastAuthType(AuthenticationType $at)
 {
     $app = Application::getFacadeApplication();
     $db = $app['database']->connection();
     $db->Execute('UPDATE Users SET uLastAuthTypeID=? WHERE uID=?', array($at->getAuthenticationTypeID(), $this->getUserID()));
 }
Exemplo n.º 2
0
 public function setLastAuthType(AuthenticationType $at)
 {
     $db = Loader::db();
     $db->Execute('UPDATE Users SET uLastAuthTypeID=? WHERE uID=?', array($at->getAuthenticationTypeID(), $this->getUserID()));
 }
Exemplo n.º 3
0
 public function getAuthenticationTypeID()
 {
     return parent::getAuthenticationTypeID();
 }