| [ 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/macro/src/lmbMacroTagInfo.class.php'); 11 12 /** 13 * class lmbMacroTagDictionary. 14 * 15 * @package macro 16 * @version $Id$ 17 */ 18 class lmbMacroTagDictionary 19 { 20 protected $info = array(); 21 22 function register($taginfo, $file) 23 { 24 $tag_to_lower = strtolower($taginfo->getTag()); 25 26 if(isset($this->info[$tag_to_lower])) 27 return; 28 29 $taginfo->setFile($file); 30 $this->info[$tag_to_lower] = $taginfo; 31 } 32 33 function findTagInfo($tag) 34 { 35 $tag = strtolower($tag); 36 if(isset($this->info[$tag])) 37 return $this->info[$tag]; 38 } 39 } 40 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Tue Oct 14 04:47:40 2008 | Cross-referenced by PHPXref 0.7 |