Class Mage_Core_Controller_Request_Http
Custom Zend_Controller_Request_Http class (formally)
Allows dispatching before and after events for each controller action
- Zend_Controller_Request_Http
- Mage_Core_Controller_Request_Http
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Core/Controller/Request/Http.php
public
string
|
#
getOriginalPathInfo( )
Returns ORIGINAL_PATH_INFO. This value is calculated instead of reading PATH_INFO directly from $_SERVER due to cross-platform differences. |
public
|
|
public
Zend_Controller_Request_Http
|
#
setPathInfo( string|null $pathInfo = null )
Set the PATH_INFO string Set the ORIGINAL_PATH_INFO string |
public
|
#
rewritePathInfo( string $pathInfo )
Specify new path info It happen when occur rewrite based on configuration |
protected
boolean
|
|
public
boolean
|
#
isDirectAccessFrontendName( string $code )
Check if code declared as direct access frontend name this mean what this url can be used without store code |
public
array
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
|
|
public
|
#
setControllerModule( string $module )
Specify module name where was found currently used controller |
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string|null
|
|
public
array
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
|
|
public
|
#
initForward( )
Collect properties changed by _forward in protected storage before _forward was called first time. |
public
array|string|null
|
#
getBeforeForwardInfo( string $name = null )
Retrieve property's value which was before _forward call. If property was not changed during _forward call null will be returned. If passed name will be null whole state array will be returned. |
public
boolean
|
|
public
boolean
|
string |
XML_NODE_DIRECT_FRONT_NAMES
|
'global/request/direct_front_name' |
|
integer |
DEFAULT_HTTP_PORT
|
80 |
|
integer |
DEFAULT_HTTPS_PORT
|
443 |
protected
string
|
$_originalPathInfo | '' |
#
ORIGINAL_PATH_INFO |
protected
mixed
|
$_storeCode | null |
|
protected
string
|
$_requestString | '' |
|
protected
null
|
$_rewritedPathInfo | null |
#
Path info array used before applying rewrite from config |
protected
mixed
|
$_requestedRouteName | null |
|
protected
array
|
$_routingInfo | array() |
|
protected
mixed
|
$_route |
|
|
protected
mixed
|
$_directFrontNames | null |
|
protected
mixed
|
$_controllerModule | null |
|
protected
boolean
|
$_isStraight | false |
#
Streight request flag. If flag is determined no additional logic is applicable |
protected
array
|
$_beforeForwardInfo | array() |
#
Request's original information before forward. |