public string Yaf_Request_Abstract::isGet( void );
获取当前请求是否为GET请求
参数
void
本方法不需要参数
返回值
是GET请求返回TRUE, 不是返回FALSE
例子
例 11.74. Yaf_Request_Abstract::isGet的例子
<?php
classIndexControllerextendsYaf_Controller_Abstract{public funciton indexAction(){if($this->getRequest()->isGet()){
echo "running in Get mode";}}}?>