<?php
$id = $this->getRequest()->getParam("id",'');
echo '<pre>';
var_dump($id); //1
?>
(Yaf >=1.0.0)
Yaf_Request_Abstract::getParam — Retrieve calling parameter
name
default
<?php
$id = $this->getRequest()->getParam("id",'');
echo '<pre>';
var_dump($id); //1
?>