php教程

Yaf_Request_Abstract::getParam

(Yaf >=1.0.0)

Yaf_Request_Abstract::getParamThe getParam purpose

说明

public Yaf_Request_Abstract::getParam ( string $name [, string $default ] ) : void

Warning

本函数还未编写文档,仅有参数列表。

参数

name

default

返回值

User Contributed Notes

yaqi dot wang at fengjr dot com 22-May-2018 05:51
<?php
$id
= $this->getRequest()->getParam("id",'');
echo
'<pre>';
var_dump($id); //1
?>

CopyRight © 2008-2022 verySource.Com All Rights reserved. 京ICP备17048824号-1 京公网安备:11010502034788