コード例 #1
0
ファイル: Invitations_class.php プロジェクト: alex-k/velotur
 function loadFromDB($id)
 {
     $ret = parent::loadFromDB($id);
     global $_CONF;
     $this->invitationExpired = strtotime($this->invitationDate) < strtotime('now');
     $this->Active = $this->invitationActive && !$this->invitationExpired;
     return $ret;
 }
コード例 #2
0
ファイル: Tours_class.php プロジェクト: alex-k/velotur
 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;
 }
コード例 #3
0
ファイル: Users_class.php プロジェクト: alex-k/velotur
 function loadFromDB($id)
 {
     $ret = parent::loadFromDB($id);
     return $ret;
 }
コード例 #4
0
ファイル: Customers_class.php プロジェクト: alex-k/velotur
 function loadFromDB($id)
 {
     $ret = parent::loadFromDB($id);
     $this->History = @unserialize($this->customerHistory);
     return $ret;
 }