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

Commit

Permalink
Merging death (to index_html). Sorry about the previous noise. Note t…
Browse files Browse the repository at this point in the history
…hat the

new settings tab will have more stuff under it before 2.6 ships.
  • Loading branch information
caseman committed Mar 27, 2002
1 parent fb8332b commit 5dd0a2e
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions help/ObjectManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ def manage_delObjects(ids):
def __getitem__(id):
"""
Returns a child object given a child id. If there is no child
with the given id, returns None. This method makes it easy to
refer to children that have id with file extensions. For
with the given id, a KeyError is raised. This method makes it easy
to refer to children that have id with file extensions. For
example::
page=folder['index.html']
Expand All @@ -148,3 +148,23 @@ def __getitem__(id):
Permission -- 'Access contents information'
"""

def setBrowserDefaultId(id='', acquire=0):
"""
Sets the id of the object or method used as the default method when
the object manager is published. If acquire is set then the default
method id will be acquired from the parent container.
Permission -- 'Manage folderish settings'
"""

def getBrowserDefaultId(acquire=0):
"""
Returns the id of the object or method used as the default when the
object manager is published. By default, this setting is acquired. If
the acquire argument is true, then the return value will be acquired
from the parent if it is not set locally. Otherwise, None is returned
if the default id is not set on this object manager.
Permission -- 'View'
"""

0 comments on commit 5dd0a2e

Please sign in to comment.