public function RestfulBase::delete in RESTful 7
Call resource using the DELETE http method.
Parameters
string $path: (optional) The path.
array $request: (optional) The request.
Return value
mixed The return value can depend on the controller for the delete method.
File
- plugins/
restful/ RestfulBase.php, line 707 - Contains RestfulBase.
Class
- RestfulBase
- Class \RestfulBase
Code
public function delete($path = '', array $request = array()) {
return $this
->process($path, $request, \RestfulInterface::DELETE);
}