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

Source for file applicationSetupThree.php

Documentation is available at applicationSetupThree.php

  1. <?php
  2. /**
  3.  * <b>Class Description</b>: Controller for initial system setup
  4.  * Created On: 30 March 2009
  5.  * @author Jan van der Breggen
  6.  * @package Controllers
  7.  * @subpackage SystemSetupScreens
  8.  * @see controllersPackage.php
  9.  * @todo
  10.  ***/
  11. {
  12.  
  13.     function index()
  14.     {
  15.         $text = $GLOBALS['lang']['setupScreenTextThree'];
  16.         $this->_init($GLOBALS['lang']['setupHeaderThree'],$text,false);
  17.        $this->setPackageInfo("SystemSetupScreens");
  18.       $countryConfig = unserialize($_SESSION['rvtwo']['locale']);
  19.         $this->View['locale_thousands']= $countryConfig->getThousandsSeparator();
  20.         $this->View['locale_decimal']= $countryConfig->getDecimalSeparator();
  21.         $this->View['currency_sign']= $countryConfig->getCurrencySign();
  22.        $this->View['currency_intl']= $countryConfig->getIntlcurrencySign();
  23.        $this->View['prev_page'] = "applicationSetupTwo";
  24.        $this->View['form_to_display']= 'view_applicationSetupThree';
  25.         $this->View['page_to_display'] = 'view_template_setup_screen';
  26.         
  27.        $_SESSION['rvtwo']['locale'] = serialize($countryConfig);
  28.        
  29.         display_view($this->viewTemplate, $this->View);
  30.        
  31.             
  32.     }
  33.     
  34.     function verification ()
  35.     {
  36.         
  37.         
  38.         redirect (applicationSetupFour);
  39.         
  40.         
  41.         
  42.     }
  43.     
  44.  
  45. }
  46. ?>

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