You are here

public function RestfulBase::getMethod in RESTful 7

Get the HTTP method used for the request.

Return value

string

7 calls to RestfulBase::getMethod()
RestfulBase::generateCacheId in plugins/restful/RestfulBase.php
Generate a cache identifier for the request and the current context.
RestfulBase::getAccount in plugins/restful/RestfulBase.php
Proxy method to get the account from the authenticationManager.
RestfulBase::getControllerFromPath in plugins/restful/RestfulBase.php
Return the controller from a given path.
RestfulBase::isListRequest in plugins/restful/RestfulBase.php
Helper method to know if the current request is for a list.
RestfulDataProviderDbQuery::mapDbRowToPublicFields in plugins/restful/RestfulDataProviderDbQuery.php
Prepares the output array from the database row object.

... See full list

File

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

Class

RestfulBase
Class \RestfulBase

Code

public function getMethod() {
  return $this->method;
}