You can use $this->_getParam('key', 'default'); in a Controller, because
 _getParam() use the Request->getParam() method, which tries first to
load the param from the url, then from $_GET and after this from $_POST.

Daniel Khan schrieb:
> Waldemar Schott wrote:
>> Hi Adam,
>> ZF has now two components called Zend_Filter_* and Zend_Validate_* for
>> this. But IMO it's quite harder compared too Zend_Filter_Input. Maybe
>> there will be something similar to Zend_Filter_Input after the 1.0
>> Release. Furthermore the class Zend is deprecated.
>>   
> So there is no Zend way to get a variable without calling isset()
> anymore by now with E_ALL - right?
> I have to do a
> 
> if(isset($_POST['foo'])) {
>    $Filter = new Zend_Filter_Alnum();
>    $Filter->filter($_POST['foo']) ....
> }
> 
> Is this right or do I miss something?
> 

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to