Yaf_Request_Abstract::getParam

(Yaf >=1.0.0)

Yaf_Request_Abstract::getParamRécupère un paramètre

Description

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

Liste de paramètres

name

default

Valeurs de retour

Voir aussi

add a note add a note

User Contributed Notes 1 note

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