コード例 #1
0
ファイル: DocumentBank.py プロジェクト: ksiktforum/ksiktforum
 def __init__(self, id, **kw):
     self._topictype = aq_base(kw['topic'])
     kw['actions'] = self._actions
     kw['aliases'] = self._aliases
     FactoryTypeInformation.__init__(self, id, **kw)
     self.product = ''
     self.factory = 'ksiktforum.documentbank'
     self.content_meta_type = 'Topic'
     self.content_icon = 'topic_icon.png'
     self.immediate_view = 'documentbank_view'
     self.title = 'documentbank'
     self.description = 'Specialized topic that can organize content under self chose labels'
コード例 #2
0
ファイル: WorkArea.py プロジェクト: ksiktforum/ksiktforum
 def __init__(self, id, **kw):
     self._topictype = aq_base(kw['topic'])
     kw['actions'] = self._actions
     kw['aliases'] = self._aliases
     FactoryTypeInformation.__init__(self, id, **kw)
     self.product = ''
     self.factory = 'ksiktforum.workarea'
     self.content_meta_type = 'Topic'
     self.content_icon = 'topic_icon.png'
     self.immediate_view = 'workarea_view'
     self.title = 'workarea'
     self.description = 'Specialized topic that handles access control'