You are here

protected function EntityShareServerRestAbstract::setResult in Entity Share 7

Set the result of the action.

Parameters

mixed $result: The result to set.

Return value

EntityShareServerRestAbstract The current class instance.

4 calls to EntityShareServerRestAbstract::setResult()
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.
EntityShareServerRest::handlePost in modules/entity_share_server/includes/entity_share_server.rest.inc
Handle the POST method action.
EntityShareServerRestAbstract::doLogin in modules/entity_share_server/includes/entity_share_server.rest.abstract.inc
Authenticate the user.

File

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

Class

EntityShareServerRestAbstract
Abstract Class to manage the EntityShare Rest server.

Code

protected function setResult($result) {
  $this->result = $result;
  return $this;
}