Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
73fb83db
Commit
73fb83db
authored
Oct 17, 2000
by
Amos Latteier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added getId and removed 'id' attribute.
parent
d710e24f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
8 deletions
+13
-8
lib/python/Products/OFSP/help/ObjectManagerItem.py
lib/python/Products/OFSP/help/ObjectManagerItem.py
+13
-8
No files found.
lib/python/Products/OFSP/help/ObjectManagerItem.py
View file @
73fb83db
...
...
@@ -90,15 +90,7 @@ class ObjectManagerItem:
Object Manager Items.
Attributes
'id' -- The id of the object.
This is the unique name of the object within its parent
object manager. This should be a string, and can contain
letters, digits, underscores, dashes, commas, and spaces.
This attribute should not be changed directly.
'title' -- The title of the object.
This is an optional one-line string description of the object.
...
...
@@ -115,6 +107,19 @@ class ObjectManagerItem:
This object is acquired and should not be set.
"""
def
getId
(
self
):
"""
Returns the object's id.
The 'id' is the unique name of the object within its parent
object manager. This should be a string, and can contain
letters, digits, underscores, dashes, commas, and spaces.
This method replaces direct access to the 'id' attribute.
Permission -- Always available
"""
def
title_or_id
(
self
):
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment