Called by each script that needs parameters, it displays
an error message and, by default, stops the execution.
Not sure we could use a strMissingParameter message here,
would have to check if the error message file is always available
public static checkParameters ( string[] $params, boolean $request = true ) : void | ||
$params | string[] | The names of the parameters needed by the calling script |
$request | boolean | Whether to include this list in checking for special params |
Résultat | void |