示例#1
0
文件: User.php 项目: a3020/concrete5
 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()));
 }
示例#2
0
 public function setLastAuthType(AuthenticationType $at)
 {
     $db = Loader::db();
     $db->Execute('UPDATE Users SET uLastAuthTypeID=? WHERE uID=?', array($at->getAuthenticationTypeID(), $this->getUserID()));
 }
示例#3
0
 public function getAuthenticationTypeID()
 {
     return parent::getAuthenticationTypeID();
 }