Yaf_Request_Abstract::getParam

(Yaf >=1.0.0)

Yaf_Request_Abstract::getParamThe getParam purpose

說明

public void Yaf_Request_Abstract::getParam ( string $name [, string $default ] )

Warning

此函式目前沒有參考文件;只有引數列表。

參數

name

default

回傳值

add a note add a note

User Contributed Notes 1 note

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