Table of Contents

Class: PropertyManager Zope-2.2.1-src/lib/python/Products/OFSP/help/PropertyManager.py

A Property Manager object has a collection of typed attributes called properties. Properties can be managed through the web or via DTML.

In addition to having a type, properties can be writable or read-only and can have default values.

Methods   
getProperty
getPropertyType
hasProperty
propertyIds
propertyItems
propertyMap
propertyValues
  getProperty 
getProperty (
        self,
        id,
        d=None,
        )

Return the value of the property id. If the property is not found the optional second argument or None is returned.

Permission

Access contents information

  getPropertyType 
getPropertyType ( self,  id )

Get the type of property id. Returns None if no such property exists.

Permission

Access contents information

  hasProperty 
hasProperty ( self,  id )

Returns a true value if the Property Manager has the property id. Otherwise returns a false value.

Permission

Access contents information

  propertyIds 
propertyIds ( self )

Returns a list of property ids.

Permission

Access contents information

  propertyItems 
propertyItems ( self )

Return a list of (id, property) tuples.

Permission

Access contents information

  propertyMap 
propertyMap ( self )

Returns a tuple of mappings, giving meta-data for properties. The meta-data includes id, type, and mode.

Permission

Access contents information

  propertyValues 
propertyValues ( self )

Returns a list of property values.

Permission

Access contents information


Table of Contents

This document was automatically generated on Mon Sep 4 07:33:06 2000 by HappyDoc version r0_6