Definition at line 15 of file dmRequest.class.php.
| static dmRequest::GET | ( | $ | key = null |
) | [static, final] |
| string | key |
Definition at line 23 of file dmRequest.class.php.
Referenced by ObjectDraw::compoundObjectSearchForm(), ResultsDraw::facetsAsUL(), dmRoute::getCurrent(), Draw::getFeedURL(), ObjectDraw::highlightedFullText(), ResultsDraw::pageLinks(), ResultsDraw::results(), ObjectResultsDraw::results(), ResultsDraw::sortLinksAsUL(), ResultsDraw::thumbsToggleLink(), and ResultsDraw::viewLinks().
| static dmRequest::getBuiltURI | ( | $ | params, | |
| array $ | query = array(), |
|||
| $ | format = null, |
|||
| $ | mobile = false | |||
| ) | [static, final] |
Returns a URI relative to the web server's document root.
| string | params | |
| array | query Array of query string key-value pairs in the format accepted by http_build_query() | |
| string | format A ".format" to append to the URL, or null for none | |
| Boolean | mobile |
Definition at line 58 of file dmRequest.class.php.
Referenced by ObjectDraw::compoundObjectSearchForm(), SearchDraw::dateSearch(), ResultsDraw::facetsAsUL(), SearchDraw::fieldSearch(), Draw::getFeedURL(), dmObject::getRecordURL(), dmQuery::getURL(), ObjectDraw::metadataAsDL(), SearchDraw::proximitySearch(), ObjectDraw::ratingsSection(), ResultsDraw::sortLinksAsUL(), ResultsDraw::thumbsToggleLink(), and ResultsDraw::viewLinks().
| static dmRequest::getPageURI | ( | ) | [static, final] |
Returns the absolute URI of the current page, minus any query string arguments.
Definition at line 99 of file dmRequest.class.php.
| static dmRequest::getServerURI | ( | ) | [static, final] |
Returns the absolute URI of the web server.
Definition at line 146 of file dmRequest.class.php.
Referenced by dmCdmUser::authenticate(), getPageURI(), dmObject::getRecordURL(), and getURI().
| static dmRequest::getURI | ( | ) | [static, final] |
Returns the current full absolute URI.
Definition at line 165 of file dmRequest.class.php.
Referenced by dmException::getURL(), dmErrorException::getURL(), ObjectDraw::previousNextLinks(), and reload().
| static dmRequest::isValidURL | ( | $ | str | ) | [static, final] |
| static dmRequest::POST | ( | $ | key = null |
) | [static, final] |
Returns the HTTP POST parameter corresponding to $key, or false if not available.
If $key is not supplied, returns all POST variables as an associative array.
| string | key |
Definition at line 39 of file dmRequest.class.php.
Referenced by dmRoute::getCurrent().
| static dmRequest::redirectToParams | ( | $ | params, | |
| array $ | query = array() | |||
| ) | [static, final] |
Redirects to a given set of URI params, in controller/id/method format (id is optional).
Must be called before the HTTP header has been output.
| string | params | |
| array | query Optional array of key => value query string pairs |
Definition at line 111 of file dmRequest.class.php.
| static dmRequest::reload | ( | ) | [static, final] |
| static dmRequest::unMagicQuotes | ( | &$ | array_or_string | ) | [static] |
Reverses the effect of PHP magic quotes, if enabled, by running stripslashes() on $array_or_string.
Modifies it by reference and returns void.
| array_or_string |
Definition at line 177 of file dmRequest.class.php.
1.6.1