Class App
The main Racoon API class, through which the entire application should accessed and processed.
public
|
|
public
|
|
protected
|
|
protected
string|null
|
|
public
|
|
public
string
|
#
getJsonKeyName( )
Returns where Racoon should look in the GET / POST array for the JSON request string. |
public
|
#
setJsonKeyName( string $jsonKeyName )
Sets where Racoon should look in the GET / POST array for the JSON request string. |
public
|
|
public
|
#
setAuthenticator(
Sets the Authenticator that should be used by the application. |
public
Racoon\Router\Router
|
|
public
|
#
getResponseFormatter( )
Returns the Formatter to be used by Racoon when formatting the request response. |
public
|
#
setResponseFormatter(
Sets the Formatter to be used by Racoon when formatting the request response. |
public
|
#
getResponseGenerator( )
Returns the Generator to be used by Racoon when putting the request response together. |
public
|
#
setResponseGenerator(
Sets the Generator to be used by Racoon when putting the request response together. |
public
string
|
|
public
|
|
public
|
|
public
boolean
|
|
public
|
#
setRequiresSchema( boolean $requiresSchema )
Sets whether or not a Schema is required for the current Request. |
public
string
|
|
public
|
#
setJsonInputMethod( string $jsonInputMethod )
Sets where Racoon is going to look for the json input data. |
protected
string
|
$jsonKeyName
Where Racoon should look in the GET / POST array for the JSON request string. |
#
'json'
|
protected
string
|
$jsonInputMethod
Where Racoon is going to look for the json input data. Available values: request, body |
#
'request'
|
protected
|
$authenticator
The Authenticator that should be used by the application. |
|
protected
|
$request
The current Request in the Racoon Application. |
|
protected
string
|
$requestClass
The name of the Request class Racoon should use. This allows you to add additional functionality to the Request. |
|
protected
Racoon\Router\Router
|
$router
The current Router object being used by the Application. |
|
protected
|
$responseFormatter
The Formatter to be used by Racoon when formatting the request response. |
|
protected
|
$responseGenerator
The Generator to be used by Racoon when putting the request response together. |
|
protected
boolean
|
$requiresSchema
Defines whether or not the Controller requires a Schema to be set. |