public function editAction()
 {
     parent::editAction();
     if ($this->getRequest()->isPost()) {
         try {
             $data = (object) $this->getRequest()->getPost();
             $this->__setData($data);
             $this->_entity->save();
             $this->view->showMessage('Изменения сохранены');
         } catch (Exception $e) {
             $this->view->showMessage($e);
         }
     } else {
         $this->__postFields();
     }
 }
 public function vacanciesAction()
 {
     $this->_currentMenuAlias = 'vacancies';
     $this->view->assign(array('vacancies' => Application_Model_Vacancy::getList()));
 }