Products.MightyCal.Calendar.ImageCollection (version 1.10)
index
/home/zope/lib/python/Products/MightyCal/Calendar/ImageCollection.py

ImageCollection Class.  Contains Image objects which can be referred to in
Templates, so as to add decoration to the various Calendar output formats

 
Modules
            
Acquisition
Dumper
os
sys
zLOG

 
Classes
            
Acquisition.Acquirer
ImageCollection(Products.MightyCal.SFolder.SFolder, Acquisition.Acquirer, Acquisition.ExplicitAcquirer)
Acquisition.ExplicitAcquirer
ImageCollection(Products.MightyCal.SFolder.SFolder, Acquisition.Acquirer, Acquisition.ExplicitAcquirer)
Products.MightyCal.SFolder.SFolder(OFS.Folder.Folder, Acquisition.ExplicitAcquirer, Acquisition.Acquirer)
ImageCollection(Products.MightyCal.SFolder.SFolder, Acquisition.Acquirer, Acquisition.ExplicitAcquirer)

 
class ImageCollection
      ImageCollection Class.  Holds images for a particular Calendar
 
  
__init__(self)
Construct a new instance of ImageCollection
addImage(self, id, description, REQUEST=None)
Creates a 'blank' Image object, stores it as a sub object, then redirects the user to the Image management screen to fill in its details and upload an image file into it.
deleteImages(self, ids, REQUEST=None)
Delete the given list of Images from our registry

 
Data
             ADD_CALENDAR_METHOD = 'addCalendar'

DEFAULT_CALENDAR_SLOT = 'calendar'

DEFAULT_FORMAT_SLOT = 'format'

DEFAULT_STYLESHEET_SLOT = 'stylesheet'

DEFAULT_TEMPLATE_SLOT = 'template'

DESCRIPTION_PROPERTY = 'description'

DTML_DIR = 'dtml'

EDIT_PROPERTIES_METHOD = 'manage_main'

EVENT_TYPES_PROPERTY = 'eventTypes'

ICONS_DIR = 'icons'

ID_PROPERTY = 'id'

IMAGE_COLLECTION = 'ImageCollection'

MessageDialog = <HTML instance at 82c28f8>

OWNER_PROPERTY = 'owner'

PACKAGE_NAME = 'Calendar'

PRODUCT_NAME = 'MightyCal'

TITLE_PROPERTY = 'title'

__file__ = '/home/zope/lib/python/Products/MightyCal/Calendar/ImageCollection.pyc'

__name__ = 'Products.MightyCal.Calendar.ImageCollection'

__version__ = '$Revision: 1.10 $'

permAdministerCalendar = 'Administer Calendar'

permDelObjs = 'Delete objects'

permViewMgmtScreen = 'View management screens'