You are here

public function RestfulBase::put in RESTful 7

Call resource using the PUT 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 put method.

File

plugins/restful/RestfulBase.php, line 678
Contains RestfulBase.

Class

RestfulBase
Class \RestfulBase

Code

public function put($path = '', array $request = array()) {
  return $this
    ->process($path, $request, \RestfulInterface::PUT);
}