GenieGate, Version 1.1.0 (PHP 5) manual

dispatchStart()

public dispatchStart( &$controller object ,
                      $trigger string ,
                      $method string );

This is called just prior to running a dispatch method.

$method should be perferred to using the trigger variable for indication of what is to be run. (because there may be multiple triggers pointing to the same method)

  • $controller

    The Controller object.

  • $trigger

    The form variable name, path, string that triggered this method.

  • $method

    The method that is about to be run.