Controllers
[ class tree: Controllers ] [ index: Controllers ] [ all elements ]

Source for file bookingMainScreen.php

Documentation is available at bookingMainScreen.php

  1. <?php
  2. /**
  3.  * <b>Class Description</b>: controller class for retreat bookings tabbed screen.
  4.  * Created On: 30 March 2009
  5.  * @author Jan van der Breggen
  6.  * @package Controllers
  7.  * @subpackage RetreatRegistrationControllers
  8.  * @see controllersPackage.php
  9.  * @todo gather requirements and implement functionality
  10.  ***/
  11.  
  12. Class BookingMainScreen extends MainScreen
  13. {
  14.     
  15.  
  16.     function index()
  17.     {
  18.         
  19.         $this->_init($GLOBALS['lang']['booking_header']);
  20.        $this->setPackageInfo("RetreatRegistrationControllers");
  21.         $this->View['tabs']$this->convertMenuConfigFileToArray('tabs.txt');//$config;
  22.          if (isset($_SESSION['rvtwo']['selected_student'])){
  23.         $searchResult unserialize($_SESSION['SEARCH']);
  24.         
  25.         $student $searchResult->getResultByID($_SESSION['rvtwo']['selected_student']);
  26.         $this->View['student'$student['first_name']." ".$student['last_name'];
  27.          }
  28.         
  29.         $this->View['page_to_display''view_bookingScreen';
  30.         display_view($this->viewTemplate,$this->View);
  31.     }
  32.     
  33.     function newStudent($studentId)
  34.     {
  35.         $_SESSION['rvtwo']['selected_student'$studentId;
  36.         $this->index();
  37.     }
  38. }
  39. ?>

Documentation generated on Mon, 18 May 2009 11:21:41 +0200 by phpDocumentor 1.4.1