Subroutine Name | Parameters | Description | Example![]() |
---|---|---|---|
initBrowserDetect() |
Detects browser and uses the acquired information to set the following variables:$Session{Browser}, For IE browsers also sets the Apache2 compatibility mode: $r->headers_out->{'X-UA-Compatible'} |
initBrowserDetect(); |
|
LoadHeader() |
$comp |
Tries to determine component type then loads the $Global{LoadHeader_<component_type>} with corresponding HTML header string. |
LoadHeader 'SELF'; Many more similar examples can be found in the /opt/masonsql/htdocs/ directory tree. |
request_to_comp_path() |
$comp_name |
Tries to find component file-path using the comp_root parameter. | my $report_file = request_to_comp_path($r->dir_config('DataBaseUrl').'/'.$report_name.'.rep'); |