[ulaform] some additions
Marko Djukic
marko at oblo.com
Wed Jul 30 15:01:58 PDT 2003
Citazione Bo Daley <bo at tilda.com.au>:
> Quoting Marko Djukic <marko at oblo.com>:
>
> > overall looks good, although i think the fieldparams is too specific. i'd
> > prefer
> > it defined as getActionPrefs() in the Ulaform.php lib and getPrefs() in
> > mailto.php. preferences could then be defined for any aspect of the action,
> > not
> > only specific to fields.
>
> yep there might be some value in making this more generic somehow, but I'm
> not
> sure that prefs are the right place for these things. Prefs suggest that they
> can be overridden by the user, but I think it should only be the admin who
> decides what things have to happen when a form is submitted. (or maybe i've
> misunderstood what you had in mind?)
no, didn't mean using the Horde Prefs:: classes, but just renaming the function
itself to talk about generic action preferences (functionality if you want, or
any other name you wish to suggest). for example, setting an action preference
to batch all the submissions and then email just one big email once a week.
essentially just to avoid being specific "params for fields", eg. batch
submission setting would not be appropriate under such a function.
marko
More information about the ulaform
mailing list