/**
  * Display
  *
  * @return  void
  */
 public function displayTask()
 {
     // Set the default view name and format from the Request.
     $vName = Request::getCmd('view', 'cache');
     // Get and render the view.
     switch ($vName) {
         case 'purge':
             break;
         case 'cache':
         default:
             $this->view->model = $this->model;
             $this->view->data = $this->model->getData();
             $this->view->client = $this->model->getClient();
             $this->view->pagination = $this->model->getPagination();
             $this->view->state = $this->model->getState();
             // Check for errors.
             if (count($errors = $this->model->getErrors())) {
                 throw new Exception(implode("\n", $errors), 500);
             }
             break;
     }
     Helper::addSubmenu($vName);
     $this->view->setName($vName)->setLayout('default')->display();
 }