コード例 #1
0
ファイル: Main.class.php プロジェクト: AmineCherrai/rostanvo
 private function recognizeAffiliate(Pap_Contexts_Action $context) {
     $context->debug("Checking affiliate with Id: ".$this->coupon->getUserID());
     if ($this->coupon->getUserID() != null) {
         try {
             $this->affiliate = $this->getAffiliate($this->coupon->getUserID());
         } catch (Gpf_Exception $e) {
             $context->debug("User with RefId/UserId: " . $this->coupon->getUserID() . " doesn't exist");
         }
     }
 }