Beispiel #1
0
 /**
  * Record the user last login informartion
  * 
  * @param Admin_Model_User $user
  * @return type 
  */
 public function recordLogin(Admin_Model_User $user)
 {
     return $this->_getWriteAdapter()->query("UPDATE " . $this->tbl_user . " SET logdate='" . now() . "', lognum=lognum+1 WHERE user_id='" . $user->getUserId() . "'");
 }