本文整理汇总了Python中MaKaC.webinterface.pages.base.WPNotDecorated类的典型用法代码示例。如果您正苦于以下问题:Python WPNotDecorated类的具体用法?Python WPNotDecorated怎么用?Python WPNotDecorated使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了WPNotDecorated类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
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
示例2: __init__
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
示例3: __init__
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
示例4: _getTitle
def _getTitle(self):
return '{} - {}'.format(WPNotDecorated._getTitle(self), _('Map of rooms'))
示例5: getJSFiles
def getJSFiles(self):
return WPNotDecorated.getJSFiles(self) + self._includeJSPackage('RoomBooking')
示例6: getCSSFiles
def getCSSFiles(self):
return WPNotDecorated.getCSSFiles(self) + ['css/mapofrooms.css']
示例7: _getTitle
def _getTitle(self):
return WPNotDecorated._getTitle(self) + " - " + _("Map of rooms")
示例8: __init__
def __init__(self,rh,file):
WPNotDecorated.__init__(self,rh)
self._file=file