[Formsess-devel] setting formsess options
Status: Beta
Brought to you by:
mrkatana
From: David <da...@df...> - 2004-05-24 09:43:21
|
Hello, I added (g|s)etOption time ago to set formsess options. However they became important only recently when some more options were added. (before you could only toggle the js validation). Calling setOption several times after instanciating the formsess class sucks so we need a way to easily set side-wide preferences. Bertrand, you wanted to add that additional configuration class, nothing happend with that however. ;) I suggest to make all options properties of the formsess class, they way it's with smarty. You could easily define your own class extending formsess only with different properties set. (just the way we do it with smarty) This is simple, powerful and (which is most important imho) familar to smarty users. What do you think? - david |