Products.MightyCal.Utils (version 1.12) | index /home/zope/lib/python/Products/MightyCal/Utils.py |
Library containing misc useful routines. Currently the following routines are defined: * addMethods: graft dtml documents onto the given object as callable methods. * addImages: Bulk-add a set of images to a Folder, encapsulated as Zope Image objects. * getFilesAsDictionary: For each file in a given directory, read them in and create a dictionary whose keys are the file names, and whose element contents are the file contents themselves. * checkId: Figure out whether a given ID is URL-compatible. * flattenDOM: Given a DOM tree, return a one-dimensional list containing all its nodes
Modules | ||||||
|
Classes | ||||||||||
|
Functions | ||
|
Data | ||
INFO = 0 INSTANCE_HOME = '/home/zope' SOFTWARE_HOME = '/home/zope/lib/python' __file__ = '/home/zope/lib/python/Products/MightyCal/Utils.pyc' __name__ = 'Products.MightyCal.Utils' __version__ = '$Revision: 1.12 $' |