Yaf_Request_Abstract::getMethod

Retrieve the request method

Description

public string Yaf_Request_Abstract::getMethod()

Parameters

This function has no parameters.

Return Values

Return a string, like "POST", "GET" etc.

See Also

  • Yaf_Request_Abstract::isHead
  • Yaf_Request_Abstract::isCli
  • Yaf_Request_Abstract::isPost
  • Yaf_Request_Abstract::isPut
  • Yaf_Request_Abstract::isOptions
  • Yaf_Request_Abstract::isXmlHTTPRequest