This method loads a given module, passing it the relevant id and mode.
public load_active ( string | false $mode = false, string | false $module_url = false, boolean $execute_module = true ) | ||
$mode | string | false | mode, as passed through to the module |
$module_url | string | false | If supplied, we use this module url |
$execute_module | boolean | If true, at the end we execute the main method for the new instance |