ZurmoHttpRequest Class Reference

Public Member Functions

 validateCsrfToken ($event)
 isExternalRequest ()
 isContextiveExternalRequest ()
 isOAuthRequest ()
 isAnExternalRequestVariant ()
 resolveAndGetUrl ()
 getRealHostInfo ()
 getRealScriptUrl ()

Data Fields

 $excludeCsrfValidationRoutes = array()
const EXTERNAL_REQUEST_TOKEN = 'externalRequestToken'

Protected Member Functions

 isTrustedRequest ()

Detailed Description

Definition at line 37 of file ZurmoHttpRequest.php.


Member Function Documentation

isExternalRequest (  ) 
Returns:
bool, true if external controller is requested Used for Web Forms and Google Apps Contextual Gadget

Definition at line 84 of file ZurmoHttpRequest.php.

isContextiveExternalRequest (  ) 
Returns:
bool, true if contextive external controller is requested Used for Google Apps Contextual Gadget

Definition at line 108 of file ZurmoHttpRequest.php.

isAnExternalRequestVariant (  ) 
Returns:
bool, true if external or contextive external controller is requested Used for Web Forms and Google Apps Contextual Gadget

Definition at line 142 of file ZurmoHttpRequest.php.

resolveAndGetUrl (  ) 

Appends host info if contextive external controller is requested

Definition at line 161 of file ZurmoHttpRequest.php.

getRealHostInfo (  ) 

Inspects server to return what the real host info is, regardless of the what the configuration file says it is

Definition at line 173 of file ZurmoHttpRequest.php.

getRealScriptUrl (  ) 

Inspects server to return what the real script url is, regardless of the what the configuration file says it is

Definition at line 211 of file ZurmoHttpRequest.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Mar 26 07:10:31 2017