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
bf6cda28
Commit
bf6cda28
authored
Jun 12, 2000
by
Michel Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PropertSheets interface API Documentation
parent
ff4b54a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
51 additions
and
0 deletions
+51
-0
lib/python/Products/OFSP/help/PropertySheets.py
lib/python/Products/OFSP/help/PropertySheets.py
+51
-0
No files found.
lib/python/Products/OFSP/help/PropertySheets.py
0 → 100644
View file @
bf6cda28
"""
PropertySheets
"""
class
PropertySheets
:
"""
A PropertySheet is an abstraction for organizing and working with
a set of related properties. Conceptually it acts like a container
for a set of related properties and metadata describing those
properties. PropertySheet objects are accessed through a
PropertySheets object that acts as a collection of PropertySheet
instances.
Objects that support property sheets (objects that support the
PropertyManager interface or ZClass objects) have a
'propertysheets'
attribute (a PropertySheets instance) that is the collection of
PropertySheet objects. The PropertySheets object exposes an
interface much like a Python mapping, so that individual
PropertySheet objects
may be accessed via dictionary-style key indexing.
"""
def
values
(
self
):
"""
Return a sequence of all of the PropertySheet objects for
in the collection.
"""
def
items
(
self
):
"""
Return a sequence containing an '(id, object)' tuple for
each PropertySheet object in the collection.
"""
def
get
(
self
,
name
,
default
=
None
):
"""
Return the PropertySheet identified by 'name', or the value
given in 'default' if the named PropertySheet is not found.
"""
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