PHP 8.1.0 RC 2 available for testing

Yaf_Request_Abstract::getParam

(Yaf >=1.0.0)

Yaf_Request_Abstract::getParamThe getParam purpose

说明

public Yaf_Request_Abstract::getParam(string $name, string $default = ?): void

警告

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

参数

name

default

返回值

add a note add a note

User Contributed Notes 1 note

up
-1
yaqi dot wang at fengjr dot com
3 years ago
<?php
$id
= $this->getRequest()->getParam("id",'');
echo
'<pre>';
var_dump($id); //1
?>
To Top