本文整理汇总了Python中MaKaC.webinterface.rh.conferenceDisplay.RHConferenceBaseDisplay类的典型用法代码示例。如果您正苦于以下问题:Python RHConferenceBaseDisplay类的具体用法?Python RHConferenceBaseDisplay怎么用?Python RHConferenceBaseDisplay使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了RHConferenceBaseDisplay类的18个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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))
开发者ID:lukasnellen,项目名称:indico,代码行数:8,代码来源:CFADisplay.py
示例2: _checkParams
def _checkParams(self, params):
RHConferenceBaseDisplay._checkParams(self, params)
SpecificFolderMixin._checkParams(self)
开发者ID:MichelCordeiro,项目名称:indico,代码行数:3,代码来源:event.py
示例3: _checkParams
def _checkParams( self, params ):
RHConferenceBaseDisplay._checkParams(self, params)
self._evaluation = self._conf.getEvaluation()
开发者ID:Ictp,项目名称:indico,代码行数:3,代码来源:evaluationDisplay.py
示例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')
开发者ID:florv,项目名称:indico,代码行数:5,代码来源:display.py
示例5: _checkParams
def _checkParams(self, params):
RHConferenceBaseDisplay._checkParams(self, params)
image_id = request.view_args["image_id"]
self.image = ImageFile.get_one(image_id)
开发者ID:indico,项目名称:indico,代码行数:4,代码来源:images.py
示例6: _checkProtection
def _checkProtection( self ):
RHConferenceBaseDisplay._checkProtection(self)
if self._regForm.isMandatoryAccount() and self._getUser() == None:
self._redirect( self._getLoginURL() )
self._doProcess = False
开发者ID:aninhalacerda,项目名称:indico,代码行数:5,代码来源:ePaymentModif.py
示例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"))
开发者ID:belokop,项目名称:indico_bare,代码行数:4,代码来源:CFADisplay.py
示例8: _checkParams
def _checkParams(self, params):
RHConferenceBaseDisplay._checkParams(self, params)
self._templateId = params.get('reviewingTemplateId')
开发者ID:MichelCordeiro,项目名称:indico,代码行数:3,代码来源:paperReviewingDisplay.py
示例9: _checkProtection
def _checkProtection(self):
if self._target.hasEnabledSection("paperReviewing"):
RHConferenceBaseDisplay._checkProtection(self)
else:
raise MaKaCError(_("Paper Reviewing is not active for this conference"))
开发者ID:VishrutMehta,项目名称:indico,代码行数:5,代码来源:reviewingModif.py
示例10: _checkProtection
def _checkProtection(self):
RHConferenceBaseDisplay._checkProtection(self)
if self.agreement.uuid != request.view_args['uuid']:
raise AccessError()
if self.agreement.user:
self._checkSessionUser()
开发者ID:marcosmolla,项目名称:indico,代码行数:6,代码来源:controllers.py
示例11: _checkParams
def _checkParams(self, params):
RHConferenceBaseDisplay._checkParams(self, params)
self.contribs = self.event_new.contributions
self.reporter = ContributionDisplayReporter(event=self.event_new)
开发者ID:fph,项目名称:indico,代码行数:4,代码来源:display.py
示例12: _checkParams
def _checkParams(self, params):
RHConferenceBaseDisplay._checkParams(self, params)
开发者ID:Ictp,项目名称:indico,代码行数:2,代码来源:rh.py
示例13: _checkParams
def _checkParams(self, params):
RHConferenceBaseDisplay._checkParams(self, params)
self.page = EventPage.get_one(request.view_args['page_id'])
开发者ID:MichelCordeiro,项目名称:indico,代码行数:3,代码来源:menu.py
示例14: _checkParams
def _checkParams( self, params ):
RHConferenceBaseDisplay._checkParams(self, params)
self._regForm = self._conf.getRegistrationForm()
开发者ID:ferhatelmas,项目名称:indico,代码行数:3,代码来源:registrationFormDisplay.py
示例15: _checkParams
def _checkParams(self, params):
RHConferenceBaseDisplay._checkParams( self, params )
self.spkUniqueId = params.get("spkId","")
开发者ID:aninhalacerda,项目名称:indico,代码行数:3,代码来源:handlers.py
示例16: _checkParams
def _checkParams(self, params):
RHConferenceBaseDisplay._checkParams(self, params)
self.event = self._conf
开发者ID:hennogous,项目名称:indico,代码行数:3,代码来源:display.py
示例17: _getLoginURL
def _getLoginURL(self):
return RHConferenceBaseDisplay._getLoginURL(self, urlHandlers.UHConfEvaluationDisplay.getURL(self._conf))
开发者ID:Ictp,项目名称:indico,代码行数:2,代码来源:evaluationDisplay.py
示例18: _checkParams
def _checkParams( self, params ):
RHConferenceBaseDisplay._checkParams( self, params )
self._authorId = params.get( "authorId", "" ).strip()
开发者ID:lukasnellen,项目名称:indico,代码行数:3,代码来源:authorDisplay.py
注:本文中的MaKaC.webinterface.rh.conferenceDisplay.RHConferenceBaseDisplay类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论