Functions
- Package: saf.CGI
cgi_param ($name)
Get the specified parameter from the global $cgi object.
cgi_params ()
Get a list of parameters from the global $cgi object.
cgi_files ()
Get a list of files from the global $cgi object.
cgi_make_query ($except = array ())
Alias of CGI::makeQuery(). Makes a query string based on the
parameters of the global $cgi object.
cgi_verify_request_method ($required = 'POST')
Verifies that the request method is the one $required.
cgi_translate_uri ($uri = '', $lose = '')
Alias of CGI::translateUri(). Creates a search-engine-friendly URL.
cgi_verify ($param, $type, $validator)
Alias of CGI::verify(). Validates the specified parameter.
cgi_is_https ()
Alias of CGI::isHttps(). Checks whether HTTPS is being used on the
current request.
cgi_force_https ()
Alias of CGI::forceHttps(). Forces HTTPS for the current request.
cgi_force_http ()
Alias of CGI::forceHttp(). Forces HTTP for the current request.
cgi_rewrite_filter ($out)
A simple rewrite filter for removing /index/ from URLs.
