Yaf_Request_Abstract::getParam
(Yaf >=1.0.0)
Yaf_Request_Abstract::getParam — The getParam purpose
说明
public Yaf_Request_Abstract::getParam(string
$name
, string $default
= ?): void
警告
本函数还未编写文档,仅有参数列表。
参数
-
name
-
-
default
-
返回值

User Contributed Notes 1 note
yaqi dot wang at fengjr dot com ¶
4 years ago
<?php
$id = $this->getRequest()->getParam("id",'');
echo '<pre>';
var_dump($id); //1
?>
备份地址:http://www.lvesu.com/blog/php/yaf-request-abstract.getparam.php