コード例 #1
0
ファイル: ePaymentModif.py プロジェクト: Ictp/indico
 def _checkParams( self, params ):
     RHConferenceBaseDisplay._checkParams(self, params)
     self._regForm = self._conf.getRegistrationForm()
     self._params=params
     self._registrant=None
     regId=params.get("registrantId","")
     if regId is not None:
         self._registrant=self._conf.getRegistrantById(regId)
コード例 #2
0
 def _checkParams(self, params):
     RHConferenceBaseDisplay._checkParams(self, params)
     self._regForm = self._conf.getRegistrationForm()
     self._params = params
     self._registrant = None
     regId = params.get("registrantId", "")
     if regId is not None:
         self._registrant = self._conf.getRegistrantById(regId)
コード例 #3
0
ファイル: ePaymentModif.py プロジェクト: bubbas/indico
 def _checkParams( self, params ):
     if not "confId" in params.keys():
         params["confId"] = params.get("M_confId","")
     if not "registrantId" in params.keys():
         params["registrantId"] = params.get("M_registrantId","")
     RHConferenceBaseDisplay._checkParams(self, params)
     self._regForm = self._conf.getRegistrationForm()
     self._params = params
     self._registrant = None
     regId = params.get("registrantId", "")
     if regId is not None:
         self._registrant = self._conf.getRegistrantById(regId)
コード例 #4
0
 def _checkParams(self, params):
     if not "confId" in params.keys():
         params["confId"] = params.get("M_confId", "")
     if not "registrantId" in params.keys():
         params["registrantId"] = params.get("M_registrantId", "")
     RHConferenceBaseDisplay._checkParams(self, params)
     self._regForm = self._conf.getRegistrationForm()
     self._params = params
     self._registrant = None
     regId = params.get("registrantId", "")
     if regId is not None:
         self._registrant = self._conf.getRegistrantById(regId)
コード例 #5
0
ファイル: ePaymentModif.py プロジェクト: arturodr/indico
 def _checkParams( self, params ):
     #
     #skipjack does not allow for the sending of arbitrary variables.  We are
     #using the user defined fields to send the confid and the registrant id.
     #
     if not "confId" in params.keys():
         params["confId"] = params.get("UserDefined1","")
     if not "registrantId" in params.keys():
         params["registrantId"] = params.get("UserDefined2","")
     #_checkParams sets the conf field.
     RHConferenceBaseDisplay._checkParams(self, params)
     self._regForm = self._conf.getRegistrationForm()
     self._params = params
     self._registrant = None
     regId = params.get("registrantId", "")
     if regId is not None:
         self._registrant = self._conf.getRegistrantById(regId)