public function deleteAction()
    {
        $s = $this->_getSelect();
        $s->whereId($this->_getParam('id'));
        $row = $this->_model->getRow($s);
        if (!$row) throw new Kwf_Exception_NotFound();
        $this->_beforeDelete($row);
        $row->delete();
    }
public function deleteAction()
    {
        $s = $this->_getSelect();
        $s->whereId($this->_getParam('id'));
        $row = $this->_model->getRow($s);
        if (!$row) throw new Kwf_Exception_NotFound();
        $this->_beforeDelete($row);
        $row->delete();
    }
public function deleteAction ( ) { $ s = $ this -> _getSelect ( ) ; $ s -> whereId ( $ this -> _getParam ( 'id' ) ) ; $ row = $ this -> _model -> getRow ( $ s ) ; if ( ! $ row ) throw new Kwf_Exception_NotFound ( ) ; $ this -> _beforeDelete ( $ row ) ; $ row -> delete ( ) ; }
Handle DELETE requests to delete a specific item
Handle DELETE requests to delete a specific item