The contents of an action file

An action file provides at least one function matching its own filename. A file called action/laugh.php should therefore declare a function called action_laugh_dist().

if (!defined("_ECRIRE_INC_VERSION")) return;
function action_laugh_dist(){

Operation of the function

In general, the main function is divided into 2 sections: verification of authorisations, then execution of the requested process.

Author Mark Baber Published :

Translations : English, français, Nederlands