public function RestfulBase::setMethod in RESTful 7
Set the HTTP method used for the request.
Parameters
string $method: The method name.
2 calls to RestfulBase::setMethod()
- RestfulBase::options in plugins/
restful/ RestfulBase.php - Call resource using the OPTIONS http method.
- RestfulBase::process in plugins/
restful/ RestfulBase.php - Entry point to process a request.
File
- plugins/
restful/ RestfulBase.php, line 183 - Contains RestfulBase.
Class
- RestfulBase
- Class \RestfulBase
Code
public function setMethod($method) {
$this->method = $method;
}