| [ 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 lmb_require('limb/wact/src/WactTemplateConfig.interface.php'); 10 11 /** 12 * class lmbWactTemplateConfig. 13 * 14 * @package view 15 * @version $Id$ 16 */ 17 class lmbWactTemplateConfig implements WactTemplateConfig 18 { 19 function __construct($cache_dir) 20 { 21 $this->cache_dir = $cache_dir; 22 } 23 24 function getCacheDir() 25 { 26 return $this->cache_dir; 27 } 28 29 function isForceScan() 30 { 31 return lmbToolkit :: instance()->getConf('wact')->get('forcescan'); 32 } 33 34 function isForceCompile() 35 { 36 return lmbToolkit :: instance()->getConf('wact')->get('forcecompile'); 37 } 38 39 function getScanDirectories() 40 { 41 if(!defined('LIMB_WACT_TAGS_INCLUDE_PATH')) 42 throw new lmbException('LIMB_WACT_TAGS_INCLUDE_PATH constant is not defined!'); 43 44 $result = array(); 45 46 foreach(explode(';', LIMB_WACT_TAGS_INCLUDE_PATH) as $path) 47 $result[] = $path; 48 49 return $result; 50 } 51 52 function getSaxFilters() 53 { 54 return array(); 55 } 56 } 57 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Tue Dec 2 03:54:09 2008 | Cross-referenced by PHPXref 0.7 |