PHP 8.1.0 RC 4 available for testing

Yaf_Request_Abstract::getParam

(Yaf >=1.0.0)

Yaf_Request_Abstract::getParamRetrieve calling parameter

Description

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

Parameters

name

default

Return Values

See Also

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