Listing 28.8. Metoda akcji delete
public function deleteAction()
{
    $id = $this->getRequest()->getParam('id');
    $DbTable = new Application_Model_DbTable_Imie();
    $obj = $DbTable->find($id)->current();
    if (!$obj) {
        throw new Zend_Controller_Action_Exception('Błędny adres!', 404);
    }
    $obj->delete();
    return $this->_helper->redirector('index');
}