Hi, when I try to use Zope functions like manage_blabla I normally view the html-source of the page that calls them and then try to guess what args they take, especially of what type the args are. Sometimes I'm not to successfull with that strategy - is there a page where you can get all these functions togehther with the args they take? Like the C++ prototypes? Horst _________________________________________________________________ Downloaden Sie MSN Explorer kostenlos unter http://explorer.msn.de/intl.asp
This is a pretty good place to find that kind of stuff: http://zdp.zope.org/projects/zqr/ZQR/objectreference Many times, when there is not quite enough info at that URL, I will just go look at the source code to figure out the signature. If you are on linux (or probably any unix platform), you can just cd to your zope directory and do this: find . |egrep "\.py$" | xargs grep -i "def manage_blabla" and most of the time that will find you what you need. chris On Thu, 2001-11-29 at 10:53, Horst Wald wrote:
Hi,
when I try to use Zope functions like manage_blabla I normally view the html-source of the page that calls them and then try to guess what args they take, especially of what type the args are. Sometimes I'm not to successfull with that strategy - is there a page where you can get all these functions togehther with the args they take? Like the C++ prototypes?
Horst
_________________________________________________________________ Downloaden Sie MSN Explorer kostenlos unter http://explorer.msn.de/intl.asp
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Old timers tend to recommend the ZQR, because it used to be the only place for this kind of info besides the source. However, most of these methods are now documented in the help system (API reference). ----- Original Message ----- From: "Chris Price" <cprice@orbik.com> To: "Horst Wald" <horstwald@hotmail.com> Cc: <zope@zope.org>; <website-talk-admin@list.ora.com> Sent: Thursday, November 29, 2001 12:00 PM Subject: Re: [Zope] signatures
This is a pretty good place to find that kind of stuff:
http://zdp.zope.org/projects/zqr/ZQR/objectreference
Many times, when there is not quite enough info at that URL, I will just go look at the source code to figure out the signature. If you are on linux (or probably any unix platform), you can just cd to your zope directory and do this:
find . |egrep "\.py$" | xargs grep -i "def manage_blabla"
and most of the time that will find you what you need.
chris
On Thu, 2001-11-29 at 10:53, Horst Wald wrote:
Hi,
when I try to use Zope functions like manage_blabla I normally view the html-source of the page that calls them and then try to guess what args they take, especially of what type the args are. Sometimes I'm not to successfull with that strategy - is there a page where you can get all these functions togehther with the args they take? Like the C++ prototypes?
Horst
_________________________________________________________________ Downloaden Sie MSN Explorer kostenlos unter http://explorer.msn.de/intl.asp
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Chris McDonough writes:
Old timers tend to recommend the ZQR, because it used to be the only place for this kind of info besides the source. However, most of these methods are now documented in the help system (API reference). Unfortunately it is quite incomplete (as of 2.4.1) (--> mailing list archives).
When you searched there several times in vain, you will tend to no longer look there at all.... Dieter
On Thu, Nov 29, 2001 at 04:53:19PM +0000, Horst Wald wrote:
when I try to use Zope functions like manage_blabla I normally view the html-source of the page that calls them and then try to guess what args they take, especially of what type the args are. Sometimes I'm not to successfull with that strategy - is there a page where you can get all these functions togehther with the args they take? Like the C++ prototypes?
Zope Quick Reference: http://www.zope.org/Members/ZQR Oleg. -- Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
Horst Wald writes:
when I try to use Zope functions like manage_blabla I normally view the html-source of the page that calls them and then try to guess what args they take, especially of what type the args are. Sometimes I'm not to successfull with that strategy - is there a page where you can get all these functions togehther with the args they take? Like the C++ prototypes? DocFinder? It's not a page, but it may give you what you need
participants (5)
-
Chris McDonough -
Chris Price -
Dieter Maurer -
Horst Wald -
Oleg Broytmann