/**
  * Project Index
  * @param $type string (archived, all, etc.)
  * @return void
  * @access public
  */
 function index($type = 'all')
 {
     // get the results and paginate
     $this->paginate = Project::getFindOptions('index:' . $type);
     $this->set('projects', $this->paginate());
     // view mode
     $viewMode = $this->DisplaySettings->getViewMode();
     if ($viewMode) {
         $this->render('index_' . $viewMode);
     }
 }