Introduction
  CGI and SSI
  <pike> tag
  Pike script
  Modules
    Module types
    create()
    defvar()
    query()
    set()
    query_internal_location()
    check_variable()
    info()
    query_name()
    register_module()
    start()
    status()
    stop()
    find_internal()
  Parser modules
  Location modules
  Other module types
  Request information object
  Responses
  Library methods
 
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.