CakeFest 2024: The Official CakePHP Conference

Yaf_Request_Abstract::getParam

(Yaf >=1.0.0)

Yaf_Request_Abstract::getParamRecupera el parámetro de llamada

Descripción

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

Recuperar el parámetro de llamada

Parámetros

name

default

Valores devueltos

Ver también

add a note

User Contributed Notes 1 note

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