incubator-zeta-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jerome Renard <jerome.ren...@gmail.com>
Subject [zeta-dev] [patch] ezcBaseOptions should be traverseable
Date Wed, 23 Feb 2011 17:43:22 GMT
Related issue : https://issues.apache.org/jira/browse/ZETACOMP-39

Hi there,

you will find attached a patch for two alternatives to fix ZETACOMP-39.

Alternative 1 (alternative1.diff):
simply add a new method that return the list of available properties so
a user can fetch them and do anything he wants with it.

Alternatice 2 (alternative2.diff):
ezcBase implements Iterator so doing a simple foreach makes it possible to
loop through properties

Any feedback welcome. :)

-- 
Jérôme Renard
http://39web.fr | http://jrenard.info | http://twitter.com/jeromerenard

Mime
View raw message