You are here

public static function RestfulBase::cleanRequest in RESTful 7

Helper function to remove the application generated request data.

Parameters

&array $request: The request array to be modified.

6 calls to RestfulBase::cleanRequest()
RestfulBase::generateCacheId in plugins/restful/RestfulBase.php
Generate a cache identifier for the request and the current context.
RestfulBase::getUrl in plugins/restful/RestfulBase.php
Helper method; Get the URL of the resource and query strings.
RestfulDataProviderDbQuery::create in plugins/restful/RestfulDataProviderDbQuery.php
Create an item from the request object.
RestfulDataProviderDbQuery::update in plugins/restful/RestfulDataProviderDbQuery.php
Update an item based on the request object.
RestfulDataProviderVariable::variableSet in plugins/restful/RestfulDataProviderVariable.php
Sets a variable value.

... See full list

File

plugins/restful/RestfulBase.php, line 292
Contains RestfulBase.

Class

RestfulBase
Class \RestfulBase

Code

public static function cleanRequest(&$request) {
  unset($request['__application']);
}