def __init__(self, rh, colorCodeTarget, colorPreviewTarget, formId=0): WPNotDecorated.__init__(self, rh) self._colorCodeTarget = colorCodeTarget self._colorPreviewTarget = colorPreviewTarget if formId.strip()=="": formId="0" self._formId=formId
def __init__(self, rh, aspects, buildings, defaultLocation, forVideoConference, roomID): WPNotDecorated.__init__(self, rh) self._aspects = aspects self._buildings = buildings self._defaultLocation = defaultLocation self._forVideoConference = forVideoConference self._roomID = roomID
def __init__(self, rh, colorCodeTarget, colorPreviewTarget, formId=0): WPNotDecorated.__init__(self, rh) self._colorCodeTarget = colorCodeTarget self._colorPreviewTarget = colorPreviewTarget if formId.strip() == "": formId = "0" self._formId = formId
def __init__( self, rh, month, year, day, form ): # month/year indicates which month should be displayed in the calendar # day indicates if a day should be highlighted in the calendar WPNotDecorated.__init__( self, rh ) self._month = month self._year = year self._day = day self._form = form
def getCSSFiles(self): return WPNotDecorated.getCSSFiles(self) + ['css/mapofrooms.css']
def _getTitle(self): return WPNotDecorated._getTitle(self) + " - " + _("Map of rooms")
def _getTitle(self): return "{} - {}".format(WPNotDecorated._getTitle(self), _("Map of rooms"))
def __init__(self, rh, file): WPNotDecorated.__init__(self, rh) self._file = file
def _getTitle(self): return '{} - {}'.format(WPNotDecorated._getTitle(self), _('Map of rooms'))
def getJSFiles(self): return WPNotDecorated.getJSFiles(self) + self._includeJSPackage('RoomBooking')
def __init__(self,rh,file): WPNotDecorated.__init__(self,rh) self._file=file