[Zope] declarePublic function
mj at zopatista.com
Tue Jan 27 10:38:26 EST 2009
On Tue, Jan 27, 2009 at 16:31, Milos Prudek <prudek at bvx.cz> wrote:
> Actually, it does not look like that. It is not followed by method definition.
> Here is all the context:
> class JMZPTMacros:
> #All the ZPT Objects will be loaded as attributes of my
> #JMZPTMacros class
> So, since there are many correct calls of declarePublic(), what does the
> incorrect (paremeter-less) call near the top of the class do?
As the bottom of my email stated, use declareObjectPublic() in this
case. The rest of the security calls are then somewhat redundant,
probably put in because the first declarePublic didn't do what the
author expected of it..
More information about the Zope