예제 #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();
 }