Example #1
0
 public function logout()
 {
     $this->logoutdate = CrugeUtil::now();
     $this->ipaddressout = CrugeUtil::getIpAddress();
     $this->status = 0;
 }
Example #2
0
 public function getICrugeStoredUserNewModel()
 {
     $model = new CrugeStoredUser();
     $model->regdate = CrugeUtil::now();
     return $model;
 }
Example #3
0
 public function recordLogon(ICrugeStoredUser $user)
 {
     $user->logondate = CrugeUtil::now();
 }