Source for file studentSearch.php
Documentation is available at studentSearch.php
* <b>Class Description</b>: controller class for student search screen.
* Created On: 30 March 2009
* @author Jan van der Breggen
* @subpackage RetreatRegistrationControllers
* @see controllersPackage.php
* @todo gather requirements and implement functionality
/*-----------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------*/
$this->_init($GLOBALS['lang']['search_text'],$GLOBALS['lang']['search_header']);
$this->db = new model_students();
//$select = $this->searchResult->getSelectValues('student_uid', 'first', 'last');
//$this->View['selectID'] = array_keys($select);
// $this->View['SelectLabels'] = array_values($select);
$this->View['page_to_display'] = 'view_studentSearch';
$this->View['tableName'] = 'student_search_results';
$this->View['div'] = 'search_results';
$this->View['prev'] = 'search_prev';
$this->View['nxt'] = 'search_nxt';
$this->View['controller'] = '/studentSearch/getPage/';
display_view('view_table_nextPage', $this->View);
if ($prevNext == 'prev' and $this->searchResult->previousPagesLeft()) {
} elseif ($prevNext == 'next' and $this->searchResult->nextPagesLeft()) {
return "Page " . $this->searchResult->getCurrentPageNumberForDisplay() . " of " .
|