public function __construct($nsPrefix) { $this->nsUri = 'http://www.w3.org/1999/xhtml'; parent::__construct($nsPrefix); $this->registerTag('a', 'Pagemill_Tag_AlwaysExpand'); $this->registerTag('b', 'Pagemill_Tag_AlwaysExpand'); $this->registerTag('body', 'Pagemill_Tag_AlwaysExpand'); $this->registerTag('div', 'Pagemill_Tag_AlwaysExpand'); $this->registerTag('em', 'Pagemill_Tag_AlwaysExpand'); $this->registerTag('head', 'Pagemill_Tag_AlwaysExpand'); $this->registerTag('i', 'Pagemill_Tag_AlwaysExpand'); $this->registerTag('iframe', 'Pagemill_Tag_AlwaysExpand'); $this->registerTag('option', 'Pagemill_Tag_Html_Option'); $this->registerTag('p', 'Pagemill_Tag_AlwaysExpand'); $this->registerTag('script', 'Pagemill_Tag_Html_Script'); $this->registerTag('select', 'Pagemill_Tag_Html_Select'); $this->registerTag('span', 'Pagemill_Tag_AlwaysExpand'); $this->registerTag('strong', 'Pagemill_Tag_AlwaysExpand'); $this->registerTag('textarea', 'Pagemill_Tag_AlwaysExpand'); $this->registerTag('title', 'Pagemill_Tag_AlwaysExpand'); $this->registerTag('iframe', 'Pagemill_Tag_AlwaysExpand'); $this->addEntityArray(get_html_translation_table(HTML_ENTITIES, ENT_COMPAT, 'UTF-8')); }
public function __construct($nsPrefix) { $this->nsUri = 'http://typeframe.com/pagemill'; parent::__construct($nsPrefix); $this->keepNamespaceDeclarationInOutput = false; $this->registerTag('template', 'Pagemill_Tag_Template'); $this->registerTag('attribute', 'Pagemill_Tag_AttributeTag'); $this->registerTag('loop', 'Pagemill_Tag_Loop'); $this->registerTag('for-each', 'Pagemill_Tag_Loop'); $this->registerTag('if', 'Pagemill_Tag_If'); $this->registerTag('else', 'Pagemill_Tag_Else'); $this->registerTag('choose', 'Pagemill_Tag_Choose'); $this->registerTag('include', 'Pagemill_Tag_Include'); $this->registerTag('recurse', 'Pagemill_Tag_Recurse'); $this->registerTag('eval', 'Pagemill_Tag_Eval'); $this->registerTag('element', 'Pagemill_Tag_Element'); $this->registerAttribute('loop', 'Pagemill_Attribute_Loop'); $this->registerAttribute('for-each', 'Pagemill_Attribute_Loop'); $this->registerAttribute('checked', 'Pagemill_Attribute_Checked'); $this->registerAttribute('selected', 'Pagemill_Attribute_Selected'); $this->registerAttribute('if', 'Pagemill_Attribute_If'); $this->registerAttribute('content', 'Pagemill_Attribute_Content'); $this->registerAttribute('replace', 'Pagemill_Attribute_Replace'); }