| [ 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 require_once('limb/wact/src/WactTemplateConfig.interface.php'); 11 12 class WactTestTemplateConfig implements WactTemplateConfig 13 { 14 protected $source; 15 16 function __construct($source) 17 { 18 $this->source = $source; 19 } 20 21 function getCacheDir() 22 { 23 if(isset($this->source['cache_dir'])) 24 return $this->source['cache_dir']; 25 else 26 return WACT_CACHE_DIR; 27 } 28 29 function isForceScan() 30 { 31 if(isset($this->source['forcescan'])) 32 return $this->source['forcescan']; 33 else 34 return true; 35 } 36 37 function isForceCompile() 38 { 39 if(isset($this->source['forcecompile'])) 40 return $this->source['forcecompile']; 41 else 42 return true; 43 } 44 45 function getScanDirectories() 46 { 47 if(isset($this->source['scan_directories'])) 48 return $this->source['scan_directories']; 49 else 50 return array('limb/wact/src/tags/'); 51 } 52 53 function getSaxFilters() 54 { 55 if(isset($this->source['saxfilters'])) 56 return $this->source['saxfilters']; 57 else 58 return array(); 59 } 60 61 } 62 63 ?>
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 |