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
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)
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()
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
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)
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)
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)
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)
def __init__(self, id): NyContentData.__init__(self) Folder.__init__(self, id)
def __init__(self, id, contributor): self.id = id self.contributor = contributor self.displays = DEFAULT_DISPLAYS.copy() NyContainer.__init__(self) NyContentData.__init__(self)