00001 <?php 00002 00015 import('controllers.grid.users.reviewer.form.ReviewerForm'); 00016 00017 class AdvancedSearchReviewerForm extends ReviewerForm { 00023 function AdvancedSearchReviewerForm(&$monograph, &$reviewRound) { 00024 parent::ReviewerForm($monograph, $reviewRound); 00025 $this->setTemplate('controllers/grid/users/reviewer/form/advancedSearchReviewerForm.tpl'); 00026 00027 $this->addCheck(new FormValidator($this, 'reviewerId', 'required', 'editor.review.mustSelect')); 00028 } 00029 00034 function readInputData() { 00035 parent::readInputData(); 00036 00037 $this->readUserVars(array('reviewerId')); 00038 } 00039 00044 function fetch(&$request) { 00045 00046 $searchByNameAction = $this->getSearchByNameAction($request); 00047 00048 $this->setReviewerFormAction($searchByNameAction); 00049 return parent::fetch($request); 00050 } 00051 } 00052 00053 ?>
1.7.1