You are here

public function RestfulDataProviderInterface::update in RESTful 7

Update an item based on the request object.

Parameters

mixed $id: The unique ID for the item.

boolean $full_replace: TRUE if the data on the request represents the new object to replace the existing one. FALSE if the request only contains the bits that need updating.

Return value

array The structured array for the item ready to be rendered.

File

plugins/restful/RestfulDataProviderInterface.php, line 59
Contains \RestfulDataProviderInterface.

Class

RestfulDataProviderInterface
@file Contains \RestfulDataProviderInterface.

Code

public function update($id, $full_replace = FALSE);