Article submitted
-----------------
The article "CVT forms' charger() function " is submitted for publication.
You are invited to review it and to give your opinion
in the forum linked to it. It is available at the address:
http://www.spip.net/ecrire/?exec=articles&id_article=4249
** CVT forms' charger() function **
by Martin McCaffery
How to define the function The charger() function in a form XXX (which is
output in a squelette using #FORMULAIRE_XXX) is defined in either the
formulaires/xxx.php or the formulaires/xxx/charger.php file. The folder
formulaires/ may be within a plugin's folder or the general squelettes
folder.
The function must be named function formulaires_xxx_charger_dist(). The
_dist suffix allows developers to redefine the function to change its
behaviour by creating a function formulaires_xxx_charger() function.
The function's arguments The charger() function is automatically passed
the the value of each argument passed to the #FORMULAIRE_XXX tag, in the
same order in which they are passed to the (...)