ATPhoto

Andreas Jung lists at zopyx.com
Tue Aug 14 16:06:56 UTC 2007



--On 14. August 2007 17:18:20 +0200 Frederik Christensen <frederik at dfc.dk> 
wrote:

> Hi
>
> I'm trying to unserstand the ATPhoto Product. The Controller Python
> Script located /ATPhoto/atphotoListPhoto is used to pic the types of
> "Image" and "ATPhoto". Line starting with "if images:" when will that be
> true?
>

If you look at the signature of the script you'll see that images is passed 
as a parameter. The default value 0 and the code itself indicates that this 
is a boolean flag. So if you pass a different value to the script 
evaluating to True the condition is True.

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20070814/f726c965/attachment.asc>


More information about the Product-Developers mailing list