/**
  * Edit an existing quote entry
  *
  * @return void
  */
 public function editAction()
 {
     $this->view->currentPage = 'headerQuotes';
     $quotes = new Datasource_Cms_HeaderQuotes();
     if ($this->getRequest()->isPost()) {
         // Save changes
         $this->_saveQuote();
     }
     $quoteID = $this->getRequest()->getParam('id');
     $quote = $quotes->getByID($quoteID);
     $this->view->title = $quote['title'];
     $this->view->subtitle = $quote['subtitle'];
     $this->view->id = $quoteID;
     $this->view->tags = $quote['tags'];
     // Load the possible testimonial tags from the database
     $this->view->quoteTags = $quotes->getPossibleTags();
     $passThrough = $this->_helper->getHelper('FlashMessenger')->getMessages();
     if (count($passThrough) > 0) {
         if (isset($passThrough[0]['saved'])) {
             if ($passThrough[0]['saved'] == true) {
                 $this->view->saved = true;
             }
         }
         if (isset($passThrough[0]['errorMessage'])) {
             $this->view->errorMessage = $passThrough[0]['errorMessage'];
         }
     }
 }