|
Open Monograph Press
3.3.0
|
Public Member Functions | |
| & | getContext ($level=1) |
| & | getContextByName ($contextName) |
| & | getPress () |
| getRequestedContextPath ($contextLevel=null) | |
| getRequestedPressPath () | |
| getUserAgent () | |
| isPost () | |
| redirectHome () | |
| setRequestMethod ($requestMethod) | |
| url ($pressPath=null, $page=null, $op=null, $path=null, $params=null, $anchor=null, $escape=false) | |
Public Member Functions inherited from PKPRequest | |
| & | _delegateToRouter ($method) |
| checkCSRF () | |
| encodeBasePathFragment ($fragment) | |
| getBasePath () | |
| getBaseUrl ($allowProtocolRelative=false) | |
| getCompleteUrl () | |
| & | getContext () |
| getCookieVar ($key) | |
| & | getDispatcher () |
| getIfModifiedSince () | |
| getIndexUrl () | |
| getProtocol () | |
| getQueryArray () | |
| getQueryString () | |
| getRemoteAddr () | |
| getRemoteDomain () | |
| getRequestedArgs () | |
| getRequestedOp () | |
| getRequestedPage () | |
| getRequestMethod () | |
| getRequestPath () | |
| getRequestUrl () | |
| & | getRouter () |
| getServerHost ($default=null, $includePort=true) | |
| & | getSession () |
| & | getSite () |
| & | getUser () |
| getUserDateVar ($prefix, $defaultDay=null, $defaultMonth=null, $defaultYear=null, $defaultHour=0, $defaultMinute=0, $defaultSecond=0) | |
| getUserVar ($key) | |
| & | getUserVars () |
| isBot () | |
| isGet () | |
| isPathInfoEnabled () | |
| isRestfulUrlsEnabled () | |
| redirect ($context=null, $page=null, $op=null, $path=null, $params=null, $anchor=null) | |
| redirectNonSSL () | |
| redirectSSL () | |
| redirectUrl ($url) | |
| redirectUrlJson ($url) | |
| setCookieVar ($key, $value, $expire=0) | |
| setDispatcher ($dispatcher) | |
| setRouter ($router) | |
Additional Inherited Members | |
Data Fields inherited from PKPRequest | |
| $_basePath | |
| $_dispatcher = null | |
| $_isBot | |
| $_isPathInfoEnabled | |
| $_isRestfulUrlsEnabled | |
| $_protocol | |
| $_requestPath | |
| $_requestVars = null | |
| $_router = null | |
| $_serverHost | |
| $_userAgent | |
Class providing operations associated with HTTP requests. Requests are assumed to be in the format http://host.tld/index.php/<press_id>/<page_name>/<operation_name>/<arguments...> <press_id> is assumed to be "index" for top-level site requests.
Mock implementation of the Request class.
Definition at line 21 of file Request.inc.php.
| & Request::getContext | ( | $level = 1 | ) |
Deprecated
Definition at line 59 of file Request.inc.php.
References PKPRequest\_delegateToRouter().
| & Request::getContextByName | ( | $contextName | ) |
Deprecated
Definition at line 68 of file Request.inc.php.
References PKPRequest\_delegateToRouter().
| & Request::getPress | ( | ) |
Deprecated
Definition at line 36 of file Request.inc.php.
References PKPRequest\_delegateToRouter().
| Request::getRequestedContextPath | ( | $contextLevel = null | ) |
Deprecated
Reimplemented from PKPRequest.
Definition at line 45 of file Request.inc.php.
References PKPRequest\_delegateToRouter().
| Request::getRequestedPressPath | ( | ) |
Deprecated
Definition at line 26 of file Request.inc.php.
References PKPRequest\_delegateToRouter(), and HookRegistry\call().
| Request::getUserAgent | ( | ) |
Reimplemented from PKPRequest.
Definition at line 94 of file Request.inc.php.
| Request::isPost | ( | ) |
Determine whether the request is a POST request
Reimplemented from PKPRequest.
Definition at line 26 of file MockRequest.inc.php.
| Request::redirectHome | ( | ) |
Deprecated
Definition at line 87 of file Request.inc.php.
References PKPRequest\_delegateToRouter().
| Request::setRequestMethod | ( | $requestMethod | ) |
Definition at line 22 of file MockRequest.inc.php.
| Request::url | ( | $pressPath = null, |
|
$page = null, |
|||
$op = null, |
|||
$path = null, |
|||
$params = null, |
|||
$anchor = null, |
|||
$escape = false |
|||
| ) |
Deprecated
Reimplemented from PKPRequest.
Definition at line 77 of file Request.inc.php.
References $op, and PKPRequest\_delegateToRouter().