$taxonFilter = array_key_exists("taxonfilter", $_REQUEST) ? $_REQUEST["taxonfilter"] : ""; $searchCommon = array_key_exists("searchcommon", $_REQUEST) ? $_REQUEST["searchcommon"] : 0; $searchSynonyms = array_key_exists("searchsynonyms", $_REQUEST) ? $_REQUEST["searchsynonyms"] : 0; $editMode = array_key_exists("emode", $_REQUEST) ? $_REQUEST["emode"] : ""; $clManager = new SurveyManager($surveyId); if ($proj) { $clManager->setProj($proj); } if ($thesFilter) { $clManager->setThesFilter($thesFilter); } if ($taxonFilter) { $clManager->setTaxonFilter($taxonFilter); } if ($searchCommon) { $clManager->setSearchCommon(); } if ($searchSynonyms) { $clManager->setSearchSynonyms(); } if ($showAuthors) { $clManager->setShowAuthors(); } if ($showCommon) { $clManager->setShowCommon(); } if ($showImages) { $clManager->setShowImages(); } if ($action == "Download List") { $clManager->downloadChecklistCsv();