Yes.  There should probably be an isSet() function in Zend_Filter_Input.

-Matt

----- Original Message ----- From: "Craig Slusher" <[EMAIL PROTECTED]>
To: "Zend Framework General" <fw-general@lists.zend.com>
Sent: Monday, October 02, 2006 5:58 AM
Subject: [fw-general] Zend_Filter_Input


I use Zend_Filter_Input to process my $_POST data. If I want to find out if
a certain button was clicked, what is the best way to check?

if ($post->getRaw('btnSave') !== false) { ... }

Is this the correct way to check for button clicks?

Reply via email to