php[world] 2019 — 25 years of PHP

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
0
yaqi dot wang at fengjr dot com
1 year ago
<?php
$id
= $this->getRequest()->getParam("id",'');
echo
'<pre>';
var_dump($id); //1
?>
To Top