function loadFromDB($id) { $ret = parent::loadFromDB($id); global $_CONF; $this->invitationExpired = strtotime($this->invitationDate) < strtotime('now'); $this->Active = $this->invitationActive && !$this->invitationExpired; return $ret; }
function loadFromDB($arg) { $ret = parent::loadFromDB($arg); $st = getTourStatus(); $this->tourStatusText = $st[$this->tourStatus]; $this->tourAllowApply = $this->_allowApply(); $this->tourAllowWL = $this->_allowWaitinglist(); $this->tourAllowPreApply = $this->_allowPreApply(); return $ret; }
function loadFromDB($id) { $ret = parent::loadFromDB($id); return $ret; }
function loadFromDB($id) { $ret = parent::loadFromDB($id); $this->History = @unserialize($this->customerHistory); return $ret; }