[Zope-Checkins] CVS: Packages/ZClasses - ZClass.py:1.18

Jim Fulton jim@tarzan.digicool.com
Mon, 10 May 1999 12:48:55 -0400


Update of /cvs-repository/Packages/ZClasses
In directory tarzan.digicool.com:/projects/users/jim/lib/python/ZClasses

Modified Files:
	ZClass.py 
Log Message:
Cleaned up some redundant (confusing) permission settings.

Fixed bug in something you don't want to know about. ;)

BACKWARD INCOMPATIBLE CHANGE in instance creation!

  - Previously, the __call__ method was an alias for the index_html method
    which took took an id and a request and created a new instance and 
    added the instance to the destination.

  - Now, the __call__ method simply calls the underlying managed class
    with the supplied arguments to create and return an instance.  The
    instance is not added to a folder.

    The index_html method is now an alias for the
    createInObjectManager method, which does what the index_html method did
    before.

  - There is a new method, fromRequest, that takes an id and a request and
    creates a new instance.  It does not at the instance to a destination.