Source for file translate.action.php

Documentation is available at translate.action.php

  1. <?php
  2. /**
  3. @package Mambo
  4. @subpackage Languages
  5. @copyright  Refer to copyright.php
  6. @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
  7. @author Mambo Foundation Inc see README.php
  8. */ 
  9. defined'_VALID_MOS' or die'Direct Access to this location is not allowed.' );
  10. class translateAction extends Action
  11. {
  12.     function execute(&$controller&$request)
  13.     {
  14.        $session =$request->session();
  15.        $session['lang'$_REQUEST['lang'];
  16.        $controller->redirect('index''catalogs');
  17.     }
  18. }
  19.  
  20. ?>

Documentation generated on Mon, 05 May 2008 16:23:53 +0400 by phpDocumentor 1.4.0