XML_XUL
[ class tree: XML_XUL ] [ index: XML_XUL ] [ all elements ]

Class: XML_XUL_Element_Html

Source Location: /XML_XUL-0.9.1/XML/XUL/Element/Html.php

Class Overview

XML_XUL_Element
   |
   --XML_XUL_Element_Html

XML/XUL/Element/Html.php


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods

Class: XML_XUL_Element

XML_XUL_Element::__construct()
constructor
XML_XUL_Element::addDescription()
add a description element
XML_XUL_Element::appendChild()
add a child object
XML_XUL_Element::cloneElement()
clone the element
XML_XUL_Element::firstChild()
get the first child of the element
XML_XUL_Element::getAttribute()
get an attribute
XML_XUL_Element::getDebug()
get a debug info about the element as string.
XML_XUL_Element::getElementById()
get an element by its id
XML_XUL_Element::getElementname()
get the element's tag name
XML_XUL_Element::getElementsByTagname()
get a nodelist of elements by their tagname
XML_XUL_Element::getId()
get the element's id
XML_XUL_Element::lastChild()
get last first child of the element
XML_XUL_Element::serialize()
serialize the element
XML_XUL_Element::setAttribute()
set an attribute
XML_XUL_Element::setAttributes()
sets several attributes at once
XML_XUL_Element::setCData()
sets cdata of the element
XML_XUL_Element::setDocument()
set the reference to the document
XML_XUL_Element::setHtmlNamespace()
set the namespace for XHTML element
XML_XUL_Element::setNamespace()
set the namespace
XML_XUL_Element::toXML()
create a string representation of the element
XML_XUL_Element::validateAttributes()
validate the element's attributes

Class Details

[line 44]
XML/XUL/Element/Html.php

Class that is used to include HTML content in the XUL document.



[ Top ]


Class Variables

$elementName =  ''

[line 52]

element name
  • Access: public

Type:   string
Overrides:   Array


[ Top ]



Method Detail

serialize   [line 99]

string serialize( )

serialize the element
  • Return: string representation of the element and all of its childNodes
  • Access: public

Overrides XML_XUL_Element::serialize() (serialize the element)
[ Top ]

setElementName   [line 77]

void setElementName( string $name)

set the element name
  • Access: public

Parameters:

string   $name   —  element name

[ Top ]

setRawHtml   [line 88]

void setRawHtml( string $html)

set raw HTML
  • Access: public

Parameters:

string   $html   —  html

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:49:51 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.