public function RestWSResourceControllerInterface::update in RESTful Web Services 7
Same name and namespace in other branches
- 7.2 restws.entity.inc \RestWSResourceControllerInterface::update()
Update an existing resource.
Parameters
int|string $id: The id of the resource that should be updated.
array $values: An array of values for the properties to be updated, keyed by property name.
2 methods override RestWSResourceControllerInterface::update()
- MyModuleBookResourceController::update in ./
restws.api.php - RestWSEntityResourceController::update in ./
restws.entity.inc - Update an existing resource.
File
- ./
restws.entity.inc, line 62 - RESTful web services module integration for entities.
Class
- RestWSResourceControllerInterface
- Specifies CRUD and access methods for resources.
Code
public function update($id, array $values);