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

Class: XML_XUL_Element_Grid

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

Class Overview

XML_XUL_Element
   |
   --XML_XUL_Element_Grid

XML/XUL/Element/Grid.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 43]
XML/XUL/Element/Grid.php

Grid element



[ Top ]


Class Variables

$elementName =  'grid'

[line 51]

element name
  • Access: public

Type:   string
Overrides:   Array


[ Top ]



Method Detail

addRow   [line 99]

void addRow( array $row, [array $atts = array()])

add a row of data
  • Access: public

Parameters:

array   $row   —  array containing the cells
array   $atts   —  attributes for the row tag

[ Top ]

addRows   [line 121]

void addRows( array $rows, [array $atts = array()])

add several rows of data
  • Access: public

Parameters:

array   $rows   —  array containing the rows
array   $atts   —  attributes for the row tag

[ Top ]

setColumns   [line 76]

void setColumns( integer $columns)

set the amount of columns
  • Access: public

Parameters:

integer   $columns   —  number of columns

[ Top ]


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