check_variable()
void|string check_variable( string name, mixed value );
The check_variable() method is called when the user
changes a configuration variable. If 0 is returned the variable will
be changed to the new value. If a string containing an error message
is returned the variable will not be changes, and the error message
will be displayed in the configuration interface.
The name argument contains the name of the configuration
variable while the value argument contains the intended new
value of it.
|