| [ 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 /** 11 * class WactTagInfo. 12 * 13 * @package wact 14 * @version $Id: WactTagInfo.class.php 5945 2007-06-06 08:31:43Z pachanga $ 15 */ 16 class WactTagInfo 17 { 18 public $Tag = ''; 19 public $TagClass = ''; 20 public $SuppressAttributes = array(); 21 public $Runat = 'server'; 22 public $RunatAs; 23 public $File; 24 public $RequiredAttributes = array(); 25 public $RequiredConstantAttributes = array(); 26 public $ParentTagClass; 27 public $RestrictSelfNesting = false; 28 public $ForbidParsing = false; 29 public $ForbidEndTag = false; 30 // this code here for BC only 31 public $ConvertAttributesToExpressions = array(); 32 33 function WactTagInfo($tag, $class) 34 { 35 $this->Tag = $tag; 36 $this->TagClass = $class; 37 } 38 39 function setForbidEndTag($flag = true) 40 { 41 $this->ForbidEndTag = $flag; 42 } 43 44 function isEndTagForbidden() 45 { 46 return $this->ForbidEndTag; 47 } 48 49 function setSuppressAttributes($attributes) 50 { 51 $this->SuppressAttributes = $attributes; 52 } 53 54 function getSuppressAttributes() 55 { 56 return $this->SuppressAttributes; 57 } 58 59 function setRequiredAttributes($attributes) 60 { 61 $this->RequiredAttributes = $attributes; 62 } 63 64 function getRequiredAttributes() 65 { 66 return $this->RequiredAttributes; 67 } 68 69 function setRequiredConstantAttributes($attributes) 70 { 71 $this->RequiredConstantAttributes = $attributes; 72 } 73 74 function getRequiredConstantAttributes() 75 { 76 return $this->RequiredConstantAttributes; 77 } 78 79 function setParentTagClass($parent_tag_class) 80 { 81 $this->ParentTagClass = $parent_tag_class; 82 } 83 84 function getParentTagClass() 85 { 86 return $this->ParentTagClass; 87 } 88 89 function setRunatAs($tag_class_name) 90 { 91 $this->RunatAs = $tag_class_name; 92 } 93 94 function getRunatAs() 95 { 96 return $this->RunatAs; 97 } 98 99 function setRunat($runat) 100 { 101 $this->Runat = $runat; 102 } 103 104 function getRunat() 105 { 106 return $this->Runat; 107 } 108 109 function setRestrictSelfNesting($flag = true) 110 { 111 $this->RestrictSelfNesting = $flag; 112 } 113 114 function isRestrictSelfNesting() 115 { 116 return (boolean)$this->RestrictSelfNesting; 117 } 118 119 function setForbidParsing($flag = true) 120 { 121 $this->ForbidParsing = $flag; 122 } 123 124 function isParsingForbidden() 125 { 126 return $this->ForbidParsing; 127 } 128 129 function load() 130 { 131 if (!class_exists($this->TagClass) && isset($this->File)) 132 require_once $this->File; 133 } 134 135 // this code here for BC only 136 function setConvertAttributesToExpressions($attributes) 137 { 138 $this->ConvertAttributesToExpressions = $attributes; 139 } 140 141 function getConvertAttributesToExpressions() 142 { 143 return $this->ConvertAttributesToExpressions; 144 } 145 } 146 ?>
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 |