/** Set up the emperor index pages
  * @access public
  * @return void
  */
 public function indexAction()
 {
     if (!in_array($this->_helper->contextSwitch->getCurrentContext(), $this->_contexts)) {
         $this->view->julioclaudian = $this->_emperors->getDynEmp(1);
         $this->view->civilwar = $this->_emperors->getDynEmp(2);
         $this->view->flavian = $this->_emperors->getDynEmp(3);
         $this->view->adoptive = $this->_emperors->getDynEmp(4);
         $this->view->antonine = $this->_emperors->getDynEmp(5);
         $this->view->waremperors = $this->_emperors->getDynEmp(6);
         $this->view->severan = $this->_emperors->getDynEmp(7);
         $this->view->thirdcentury = $this->_emperors->getDynEmp(8);
         $this->view->british = $this->_emperors->getDynEmp(9);
         $this->view->gallic = $this->_emperors->getDynEmp(10);
         $this->view->tetrarchy = $this->_emperors->getDynEmp(11);
         $this->view->constantine = $this->_emperors->getDynEmp(12);
         $this->view->valentinian = $this->_emperors->getDynEmp(13);
         $this->view->theodosius = $this->_emperors->getDynEmp(14);
         $this->view->fourthcentury = $this->_emperors->getDynEmp(16);
     } else {
         $this->view->emperors = $this->_emperors->getEmperors();
     }
 }
 /** Set up the emperor index pages
  */
 public function indexAction()
 {
     $emperors = new Emperors();
     $this->view->julioclaudian = $emperors->getDynEmp(1);
     $this->view->civilwar = $emperors->getDynEmp(2);
     $this->view->flavian = $emperors->getDynEmp(3);
     $this->view->adoptive = $emperors->getDynEmp(4);
     $this->view->antonine = $emperors->getDynEmp(5);
     $this->view->waremperors = $emperors->getDynEmp(6);
     $this->view->severan = $emperors->getDynEmp(7);
     $this->view->thirdcentury = $emperors->getDynEmp(8);
     $this->view->british = $emperors->getDynEmp(9);
     $this->view->gallic = $emperors->getDynEmp(10);
     $this->view->tetrarchy = $emperors->getDynEmp(11);
     $this->view->constantine = $emperors->getDynEmp(12);
     $this->view->valentinian = $emperors->getDynEmp(13);
     $this->view->theodosius = $emperors->getDynEmp(14);
     $this->view->fourthcentury = $emperors->getDynEmp(16);
 }