TYPO3 API  SVNRelease
Public Member Functions | Protected Attributes
Tx_Extbase_MVC_Web_Request Class Reference
Inheritance diagram for Tx_Extbase_MVC_Web_Request:
Inheritance graph
[legend]
Collaboration diagram for Tx_Extbase_MVC_Web_Request:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 injectConfigurationManager (Tx_Extbase_Configuration_ConfigurationManagerInterface $configurationManager)
 setMethod ($method)
 getMethod ()
 setRequestURI ($requestURI)
 getRequestURI ()
 setBaseURI ($baseURI)
 getBaseURI ()
 setHmacVerified ($hmacVerified)
 isHmacVerified ()
 getContentObjectData ()
 setIsCached ($isCached)
 isCached ()

Protected Attributes

 $format = 'html'
 $method = 'GET'
 $requestURI
 $baseURI
 $hmacVerified = FALSE
 $isCached = FALSE
 $configurationManager

Detailed Description

Definition at line 38 of file Request.php.


Member Function Documentation

Tx_Extbase_MVC_Web_Request::getBaseURI ( )

Returns the base URI

Returns:
string Base URI of this web request

Definition at line 141 of file Request.php.

Tx_Extbase_MVC_Web_Request::getContentObjectData ( )

Returns the data array of the current content object

Returns:
array data of the current cObj
Deprecated:
since Extbase 1.3.0; will be removed in Extbase 1.5.0. Use the ConfigurationManager to retrieve the current ContentObject
Author:
Bastian Waidelich <bastian@typo3.org>

Definition at line 177 of file Request.php.

References t3lib_div\logDeprecatedFunction().

Tx_Extbase_MVC_Web_Request::getMethod ( )

Returns the name of the request method

Returns:
string Name of the request method

Definition at line 101 of file Request.php.

Tx_Extbase_MVC_Web_Request::getRequestURI ( )

Returns the request URI

Returns:
string URI of this web request

Definition at line 121 of file Request.php.

Tx_Extbase_MVC_Web_Request::injectConfigurationManager ( Tx_Extbase_Configuration_ConfigurationManagerInterface configurationManager)
Parameters:
Tx_Extbase_Configuration_ConfigurationManagerInterface$configurationManager
Returns:
void

Definition at line 79 of file Request.php.

References $configurationManager.

Tx_Extbase_MVC_Web_Request::isCached ( )

Return whether the current request is a cached request or not.

(v4 only)

Returns:
boolean the caching status.

Definition at line 197 of file Request.php.

Referenced by setIsCached().

Tx_Extbase_MVC_Web_Request::isHmacVerified ( )

Could the request be verified via a HMAC?

Returns:
boolean TRUE if request could be verified, FALSE otherwise
Author:
Sebastian Kurfürst <sebastian@typo3.org>

Definition at line 166 of file Request.php.

Tx_Extbase_MVC_Web_Request::setBaseURI ( baseURI)

Sets the base URI for this request.

Parameters:
string$baseURINew base URI
Returns:
void

Definition at line 131 of file Request.php.

References $baseURI.

Tx_Extbase_MVC_Web_Request::setHmacVerified ( hmacVerified)

Could the request be verified via a HMAC?

Parameters:
boolean$hmacVerifiedTRUE if request could be verified, FALSE otherwise
Returns:
void
Author:
Sebastian Kurfürst <sebastian@typo3.org>

Definition at line 156 of file Request.php.

References $hmacVerified.

Referenced by Tx_Extbase_Security_Channel_RequestHashService\verifyRequest().

Tx_Extbase_MVC_Web_Request::setIsCached ( isCached)

Set if the current request is cached.

Parameters:
boolean$isCached

Definition at line 188 of file Request.php.

References $isCached, and isCached().

Tx_Extbase_MVC_Web_Request::setMethod ( method)

Sets the request method

Parameters:
string$methodName of the request method
Returns:
void
Exceptions:
Tx_Extbase_MVC_Exception_InvalidRequestMethodif the request method is not supported

Definition at line 90 of file Request.php.

References $method.

Tx_Extbase_MVC_Web_Request::setRequestURI ( requestURI)

Sets the request URI

Parameters:
string$requestURIURI of this web request
Returns:
void

Definition at line 111 of file Request.php.

References $requestURI.


Member Data Documentation

Tx_Extbase_MVC_Web_Request::$baseURI [protected]

Definition at line 58 of file Request.php.

Referenced by setBaseURI().

Tx_Extbase_MVC_Web_Request::$configurationManager [protected]

Definition at line 73 of file Request.php.

Referenced by injectConfigurationManager().

Tx_Extbase_MVC_Web_Request::$format = 'html' [protected]

Reimplemented from Tx_Extbase_MVC_Request.

Definition at line 43 of file Request.php.

Tx_Extbase_MVC_Web_Request::$hmacVerified = FALSE [protected]

Definition at line 63 of file Request.php.

Referenced by setHmacVerified().

Tx_Extbase_MVC_Web_Request::$isCached = FALSE [protected]

Definition at line 68 of file Request.php.

Referenced by setIsCached().

Tx_Extbase_MVC_Web_Request::$method = 'GET' [protected]

Definition at line 48 of file Request.php.

Referenced by setMethod().

Tx_Extbase_MVC_Web_Request::$requestURI [protected]

Definition at line 53 of file Request.php.

Referenced by setRequestURI().


The documentation for this class was generated from the following file: