Пример #1
0
Файл: rh.py Проект: Ictp/indico
 def _checkParams(self, params):
     RHChatModifBase._checkParams(self, params)
     self._conf = ConferenceHolder().getById(params['confId'])
     self._chatroom = DBHelpers.getChatroom(params['chatroom'])
     self._sdate = params['sdate'] if params.has_key('sdate') else None
     self._edate = params['edate'] if params.has_key('edate') else None
     self._forEvent = bool(params['forEvent']) if params.has_key('forEvent') else None
     self._getAll = not self._sdate and not self._edate and not self._forEvent
Пример #2
0
 def _checkParams(self, params):
     RHChatModifBase._checkParams(self, params)
     self._conf = ConferenceHolder().getById(params["confId"])
     self._chatroom = DBHelpers.getChatroom(params["chatroom"])
     self._sdate = params["sdate"] if params.has_key("sdate") else None
     self._edate = params["edate"] if params.has_key("edate") else None
     self._forEvent = bool(params["forEvent"]) if params.has_key("forEvent") else None
     self._getAll = not self._sdate and not self._edate and not self._forEvent
Пример #3
0
 def _checkParams(self, params):
     RHChatModifBase._checkParams(self, params)
     self._conf = ConferenceHolder().getById(params['confId'])
     self._chatroom = DBHelpers.getChatroom(params['chatroom'])
     self._sdate = params['sdate'] if 'sdate' in params else None
     self._edate = params['edate'] if 'edate' in params else None
     self._forEvent = params.get('forEvent') == '1'
     self._getAll = not self._sdate and not self._edate and not self._forEvent
Пример #4
0
 def _checkParams(self, params):
     RHChatModifBase._checkParams(self, params)
     self._conf = ConferenceHolder().getById(params['confId'])
     self._chatroom = DBHelpers.getChatroom(params['chatroom'])
     self._sdate = params['sdate'] if 'sdate' in params else None
     self._edate = params['edate'] if 'edate' in params else None
     self._forEvent = params.get('forEvent') == '1'
     self._getAll = not self._sdate and not self._edate and not self._forEvent
Пример #5
0
 def _checkParams(self, params):
     RHChatModifBase._checkParams(self, params)
     self._conf = ConferenceHolder().getById(params['confId'])
     self._chatroom = DBHelpers.getChatroom(params['chatroom'])
     self._sdate = params['sdate'] if params.has_key('sdate') else None
     self._edate = params['edate'] if params.has_key('edate') else None
     self._forEvent = bool(
         params['forEvent']) if params.has_key('forEvent') else None
     self._getAll = not self._sdate and not self._edate and not self._forEvent