On 2/10/06, George <tesseris@gmail.com> wrote:

propertyMap()

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

Thx! Sorry for my blindness! :)


On 2/10/06, Tres Seaver < tseaver@palladion.com> wrote:


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

George wrote:
> Is there a method to return the properties of an object?
>
> Sorry if it's sth obvious!*

For properties defined via the "Properties" tab, use the API defined in
OFS.PropertyManager, e.g. 'propertyMap'.


Tres.
- --
===================================================================
Tres Seaver          +1 202-558-7113           tseaver@palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD7JiY+gerLs4ltQ4RAhKnAKCSIx5apt9mabTVkh/4JkSizQ4JKwCggMuD
i8vudlG9vI0POoDudbbAX/M=
=gw2Q
-----END PGP SIGNATURE-----