Skip to content
This repository has been archived by the owner on Sep 28, 2020. It is now read-only.

Commit

Permalink
Removed __replaceable__ from API docs. This is an *Implemtor* API, no…
Browse files Browse the repository at this point in the history
…t a user's API. Only methods and attributes usable from DTML and Python Methods (restricted) should go in these API docs.
  • Loading branch information
latteier committed Oct 17, 2000
1 parent f1b3f84 commit 0b4c766
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions help/ObjectManagerItem.py
Expand Up @@ -114,27 +114,6 @@ class ObjectManagerItem:
'REQUEST' -- The current web request.
This object is acquired and should not be set.
'__replaceable__' -- Object ID policy flags
Objects placed in an ObjectManager can have a special property,
'__replaceable__'. This property controls the policy surrounding the
ID assigned to the object. Currently this property can only be
set in Python. There are two flags which can be OR'ed
together:
ObjectManager.REPLACEABLE -- Normally, ObjectManager does not
allow new objects to be created using an ID that is already in use
in the container. If the object has the property '__replaceable__ =
ObjectManager.REPLACEABLE', however, users are permitted to replace
the object with another object having the same ID.
ObjectManager.UNIQUE -- Sometimes you need to be able to set up
a "component" object that won't be overridden purposely nor
accidentally in subfolders. Setting '__replaceable__ =
ObjectManager.UNIQUE' will cause ObjectManager to disallow creation
of objects of the same ID in subfolders. This has the effect of
enforcing a unique object ID policy.
"""

def title_or_id(self):
Expand Down

0 comments on commit 0b4c766

Please sign in to comment.