Example #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()));
 }
Example #2
0
 public function setLastAuthType(AuthenticationType $at)
 {
     $db = Loader::db();
     $db->Execute('UPDATE Users SET uLastAuthTypeID=? WHERE uID=?', array($at->getAuthenticationTypeID(), $this->getUserID()));
 }
Example #3
0
 public function getAuthenticationTypeID()
 {
     return parent::getAuthenticationTypeID();
 }