You are here

public function EntityShareServerRestAbstract::getParam in Entity Share 7

Get the parameter value.

Parameters

string $name: Name of th parameter.

Return value

mixed|null The parameter value, NULL otherwise.

4 calls to EntityShareServerRestAbstract::getParam()
EntityShareServerRest::handleDelete in modules/entity_share_server/includes/entity_share_server.rest.inc
Handle the DELETE method action.
EntityShareServerRest::handleGet in modules/entity_share_server/includes/entity_share_server.rest.inc
Handle the GET method action.
EntityShareServerRestAbstract::handle in modules/entity_share_server/includes/entity_share_server.rest.abstract.inc
Handle the server.
EntityShareServerRestAbstract::isRequestAllowed in modules/entity_share_server/includes/entity_share_server.rest.abstract.inc
Security control.

File

modules/entity_share_server/includes/entity_share_server.rest.abstract.inc, line 76
Class for handling Entity Share Rest Server request.

Class

EntityShareServerRestAbstract
Abstract Class to manage the EntityShare Rest server.

Code

public function getParam($name) {
  return isset($this->request[$name]) ? $this->request[$name] : NULL;
}