You are here

public function RestWSResourceControllerInterface::wrapper in RESTful Web Services 7

Same name and namespace in other branches
  1. 7.2 restws.entity.inc \RestWSResourceControllerInterface::wrapper()

Returns a metadata wrapper for the resource with the given id.

Return value

EntityStructureWrapper Metadata wrapper of the resource.

2 methods override RestWSResourceControllerInterface::wrapper()
MyModuleBookResourceController::wrapper in ./restws.api.php
RestWSEntityResourceController::wrapper in ./restws.entity.inc
Returns a metadata wrapper for the resource with the given id.

File

./restws.entity.inc, line 28
RESTful web services module integration for entities.

Class

RestWSResourceControllerInterface
Specifies CRUD and access methods for resources.

Code

public function wrapper($id);