コード例 #1
0
ファイル: NyPhotoGallery.py プロジェクト: eaudeweb/trunk-eggs
 def __init__(self, id, contributor):
     self.id = id
     #self.approved = approved
     #self.approved_by = approved_by
     NyContainer.__init__(self)
     NyContentData.__init__(self)
     #self.save_properties(title, lang, **kwargs)
     self.contributor = contributor
コード例 #2
0
ファイル: NyPhoto.py プロジェクト: eaudeweb/naaya
 def __init__(self, id, content_type='', displays={}):
     """ """
     #image stuff
     self.id = id
     self.content_type = content_type
     self.displays = displays
     NyFSContainer.__init__(self)
     NyContentData.__init__(self)
コード例 #3
0
 def __init__(self, id, contributor):
     self.id = id
     NyContentData.__init__(self)
     NyValidation.__dict__['__init__'](self)
     NyCheckControl.__dict__['__init__'](self)
     NyItem.__dict__['__init__'](self)
     self.contributor = contributor
     self._versions = PersistentDict()
コード例 #4
0
 def __init__(self, id, contributor):
     self.id = id
     # self.approved = approved
     # self.approved_by = approved_by
     NyContainer.__init__(self)
     NyContentData.__init__(self)
     # self.save_properties(title, lang, **kwargs)
     self.contributor = contributor
コード例 #5
0
 def __init__(self, id, contributor):
     self.id = id
     NyContentData.__init__(self)
     NyValidation.__dict__['__init__'](self)
     NyCheckControl.__dict__['__init__'](self)
     NyItem.__dict__['__init__'](self)
     self.contributor = contributor
     self._versions = PersistentDict()
コード例 #6
0
ファイル: NyPhoto.py プロジェクト: eaudeweb/trunk-eggs
 def __init__(self, id, contributor, content_type='', displays={}):
     """ """
     #image stuff
     self.id = id
     self.contributor = contributor
     self.content_type = content_type
     self.displays = displays
     NyFSContainer.__init__(self)
     NyContentData.__init__(self)
コード例 #7
0
ファイル: file_item.py プロジェクト: eaudeweb/naaya
 def __init__(self, id, title, file, precondition):
     """
     Constructor.
     """
     NyFSFile.__init__(self, id, title, file, '', precondition)
     #"dirty" trick to get rid of the File's title property
     try: del self.title
     except: pass
     try: del self.id
     except: pass
     NyContentData.__init__(self)
コード例 #8
0
ファイル: expert_item.py プロジェクト: eaudeweb/naaya
 def __init__(self, id, title, file, precondition, content_type):
     """
     Constructor.
     """
     File.__dict__['__init__'](self, id, title, file, content_type, precondition)
     #"dirty" trick to get rid of the File's title property
     try: del self.title
     except: pass
     try: del self.id
     except: pass
     NyContentData.__init__(self)
コード例 #9
0
 def __init__(self, id, title, file):
     """
     Constructor.
     """
     NyFSFile.__init__(self, id, title, file, '')
     #"dirty" trick to get rid of the File's title property
     try:
         del self.title
     except:
         pass
     try:
         del self.id
     except:
         pass
     NyContentData.__init__(self)
コード例 #10
0
ファイル: exfile_item.py プロジェクト: pombredanne/trunk-eggs
 def __init__(self, id):
     NyContentData.__init__(self)
     Folder.__init__(self, id)
コード例 #11
0
 def __init__(self, id, contributor):
     self.id = id
     self.contributor = contributor
     self.displays = DEFAULT_DISPLAYS.copy()
     NyContainer.__init__(self)
     NyContentData.__init__(self)
コード例 #12
0
ファイル: exfile_item.py プロジェクト: eaudeweb/trunk-eggs
 def __init__(self, id):
     NyContentData.__init__(self)
     Folder.__init__(self, id)
コード例 #13
0
 def __init__(self, id, contributor):
     self.id = id
     self.contributor = contributor
     self.displays = DEFAULT_DISPLAYS.copy()
     NyContainer.__init__(self)
     NyContentData.__init__(self)