| [ Index ] |
PHP Cross Reference of Limb3 |
[Summary view] [Print] [Text view]
1 <?php 2 /* 3 * Limb PHP Framework 4 * 5 * @link http://limb-project.com 6 * @copyright Copyright © 2004-2007 BIT(http://bit-creative.com) 7 * @license LGPL http://www.gnu.org/copyleft/lesser.html 8 */ 9 10 lmb_require('limb/filter_chain/src/lmbInterceptingFilter.interface.php'); 11 12 /** 13 * class lmbDefaultLocaleFilter. 14 * 15 * @package web_app 16 * @version $Id: lmbDefaultLocaleFilter.class.php 5945 2007-06-06 08:31:43Z pachanga $ 17 */ 18 class lmbDefaultLocaleFilter implements lmbInterceptingFilter 19 { 20 protected $default_locale; 21 protected $toolkit; 22 23 function __construct($default_locale) 24 { 25 $this->default_locale = $default_locale; 26 $this->toolkit = lmbToolkit :: instance(); 27 } 28 29 function run($filter_chain) 30 { 31 $this->toolkit->setLocale($this->default_locale); 32 $filter_chain->next(); 33 } 34 } 35 36 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Mon Dec 1 03:56:46 2008 | Cross-referenced by PHPXref 0.7 |