Yaf_Request_Abstract::getMethod
(Yaf >=1.0.0)
Yaf_Request_Abstract::getMethod — Retrieve the request method
Description
public Yaf_Request_Abstract::getMethod ( ) : string
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
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/yaf-request-abstract.getmethod.php