I am new with ZF1. I am trying to get JSON response for a particular id. I can get all values from table using following code. How can I pass some parameter from url?
public function emailAction(){
$emailModel = new test_Model_DbTable_Email();
$results = $emailModel->getEmails(518); // <-- I want here parameter from url
$this->_helper->json($results);
$this->getResponse()->setHttpResponseCode(200);
}