Yaf_Request_Abstract::getMethod
(Yaf >=1.0.0)
Yaf_Request_Abstract::getMethod — Retrieve the request method
Description
Parameters
This function has no parameters.
Return Values
Return a string, like "POST", "GET" etc.
See Also
- Yaf_Request_Abstract::isHead() - Determine if request is HEAD request
- Yaf_Request_Abstract::isCli() - Determine if request is CLI request
- Yaf_Request_Abstract::isPost() - Determine if request is POST request
- Yaf_Request_Abstract::isPut() - Determine if request is PUT request
- Yaf_Request_Abstract::isOptions() - Determine if request is OPTIONS request
- Yaf_Request_Abstract::isXmlHTTPRequest() - Determine if request is AJAX request