[Zope] Re: Method to return the properties of an object

2006-02-14 Thread Florent Guillaume

You could use any of a various set of introspection/debugging tools.

One of them is
http://svn.nuxeo.org/trac/pub/browser/ZMIntrospection/trunk/

There are others, like
http://www.zope.org/Members/shh/DocFinderEverywhere

Florent


George wrote:

Is there a method to return the properties of an object?

Sorry if it's sth obvious!*
*





___
Zope maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce

 http://mail.zope.org/mailman/listinfo/zope-dev )



--
Florent Guillaume, Nuxeo (Paris, France)   Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   [EMAIL PROTECTED]
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Re: Method to return the properties of an object

2006-02-10 Thread Tres Seaver
-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  [EMAIL PROTECTED]
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-

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Re: Method to return the properties of an object

2006-02-10 Thread George
On 2/10/06, George <[EMAIL PROTECTED]> 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 <
[EMAIL PROTECTED]> wrote:
-BEGIN PGP SIGNED MESSAGE-Hash: SHA1George 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  

[EMAIL PROTECTED]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.orgiD8DBQFD7JiY+gerLs4ltQ4RAhKnAKCSIx5apt9mabTVkh/4JkSizQ4JKwCggMuDi8vudlG9vI0POoDudbbAX/M=
=gw2Q-END PGP SIGNATURE-



___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )