本文整理汇总了Python中MaKaC.webinterface.rh.conferenceDisplay.RHConferenceBaseDisplay类的典型用法代码示例。如果您正苦于以下问题:Python RHConferenceBaseDisplay类的具体用法?Python RHConferenceBaseDisplay怎么用?Python RHConferenceBaseDisplay使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了RHConferenceBaseDisplay类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: _checkParams
def _checkParams( self, params ):
RHConferenceBaseDisplay._checkParams( self, params )
self._abstractIds = normaliseListParam( params.get("abstracts", []) )
self._abstracts = []
abMgr = self._conf.getAbstractMgr()
for id in self._abstractIds:
if abMgr.getAbstractById(id).canView(self._aw):
self._abstracts.append(abMgr.getAbstractById(id))
示例2: _checkParams
def _checkParams(self, params):
RHConferenceBaseDisplay._checkParams(self, params)
SpecificFolderMixin._checkParams(self)
示例3: _checkParams
def _checkParams( self, params ):
RHConferenceBaseDisplay._checkParams(self, params)
self._evaluation = self._conf.getEvaluation()
示例4: _checkParams
def _checkParams(self, params):
RHConferenceBaseDisplay._checkParams(self, params)
self.layout = request.args.get('layout')
if not self.layout:
self.layout = request.args.get('ttLyt')
示例5: _checkParams
def _checkParams(self, params):
RHConferenceBaseDisplay._checkParams(self, params)
image_id = request.view_args["image_id"]
self.image = ImageFile.get_one(image_id)
示例6: _checkProtection
def _checkProtection( self ):
RHConferenceBaseDisplay._checkProtection(self)
if self._regForm.isMandatoryAccount() and self._getUser() == None:
self._redirect( self._getLoginURL() )
self._doProcess = False
示例7: _checkProtection
def _checkProtection( self ):
RHConferenceBaseDisplay._checkProtection(self)
if not self._conf.getAbstractMgr().isActive() or not self._conf.hasEnabledSection("cfa"):
raise MaKaCError( _("The Call For Abstracts was disabled by the conference managers"))
示例8: _checkParams
def _checkParams(self, params):
RHConferenceBaseDisplay._checkParams(self, params)
self._templateId = params.get('reviewingTemplateId')
示例9: _checkProtection
def _checkProtection(self):
if self._target.hasEnabledSection("paperReviewing"):
RHConferenceBaseDisplay._checkProtection(self)
else:
raise MaKaCError(_("Paper Reviewing is not active for this conference"))
示例10: _checkProtection
def _checkProtection(self):
RHConferenceBaseDisplay._checkProtection(self)
if self.agreement.uuid != request.view_args['uuid']:
raise AccessError()
if self.agreement.user:
self._checkSessionUser()
示例11: _checkParams
def _checkParams(self, params):
RHConferenceBaseDisplay._checkParams(self, params)
self.contribs = self.event_new.contributions
self.reporter = ContributionDisplayReporter(event=self.event_new)
示例12: _checkParams
def _checkParams(self, params):
RHConferenceBaseDisplay._checkParams(self, params)
示例13: _checkParams
def _checkParams(self, params):
RHConferenceBaseDisplay._checkParams(self, params)
self.page = EventPage.get_one(request.view_args['page_id'])
示例14: _checkParams
def _checkParams( self, params ):
RHConferenceBaseDisplay._checkParams(self, params)
self._regForm = self._conf.getRegistrationForm()
示例15: _checkParams
def _checkParams(self, params):
RHConferenceBaseDisplay._checkParams( self, params )
self.spkUniqueId = params.get("spkId","")