public function fetchAll()
 {
     $resultSet = $this->getDbTable()->fetchAll();
     $entries = array();
     foreach ($resultSet as $row) {
         $entry = new App_Model_RatingAttribute();
         $entry->setUlimit($row->ulimit)->setDescription($row->description)->setName($row->name)->setId($row->id);
         $entries[] = $entry;
     }
     return $entries;
 }
 public function deleteAction()
 {
     $id = $this->getRequest()->getParam('id');
     $this->view->title = "Delete RatingAttribute ";
     $this->view->headTitle($this->view->title);
     if ($this->getRequest()->isPost()) {
         $del = $this->getRequest()->getPost('del');
         if ($del == 'Yes') {
             $id = $this->getRequest()->getPost('id');
             $tbl = new App_Model_RatingAttribute();
             $mapper = new App_Model_RatingAttributeMapper();
             $row = $tbl->find($id);
             $mapper->delete($tbl);
         }
         $this->_helper->redirector('index');
     } else {
         $tbl = new App_Model_RatingAttribute();
         $this->view->id = $id;
     }
 }