Class matrix

Description

A matrix is a table with no colspans or rowspans. It is an N x M

rectangle of table cells, and created to the given size from the outset. This is just a simple way in which you can obtain s vanilla table of given dimensions, with a single statement. All the table methods are then available.

Located in /html-defs.php (line 2985)

RenderableObject
   |
   --StylableObject
      |
      --HTMLObject
         |
         --table
            |
            --matrix
Variable Summary
 mixed $cols
 mixed $rows
Method Summary
 matrix matrix (integer $rows, integer $cols, [string $content = ""])
Variables
Methods
Constructor matrix (line 2998)

Construct a new matrix.

matrix matrix (integer $rows, integer $cols, [string $content = ""])
  • integer $rows: Number of table rows in the matrix
  • integer $cols: Number of table columns in the matrix
  • string $content: Optional content for every cell of the table

Inherited Methods

Inherited From table

 table::table()
 table::append_cols()
 table::append_row()
 table::autojustify()
 table::cellcount()
 table::cell_exists()
 table::clearcontent()
 table::colcount()
 table::csv()
 table::delete_cols()
 table::delete_row()
 table::get_cell()
 table::get_row()
 table::get_width_profile()
 table::html()
 table::insert_cols()
 table::insert_row()
 table::merge_cols()
 table::merge_rows()
 table::peek_cell()
 table::permit()
 table::permit_cell()
 table::poke_cell()
 table::poke_cellcss()
 table::rowcount()
 table::rowstripes()
 table::setnbsp()
 table::setpadding()
 table::set_cell()
 table::set_width_profile()
 table::split_cols()
 table::split_rows()
 table::tbody()
 table::td()
 table::td_alignment()
 table::td_colspan()
 table::td_content()
 table::td_contentcss()
 table::td_css()
 table::td_height()
 table::td_metrics()
 table::td_rowspan()
 table::td_width()
 table::tfoot()
 table::th()
 table::thead()
 table::th_alignment()
 table::th_colspan()
 table::th_content()
 table::th_contentcss()
 table::th_css()
 table::th_height()
 table::th_metrics()
 table::th_rowspan()
 table::th_width()
 table::tr()
 table::unpermit_cell()
 table::validate()
 table::visible_cellsincol()
 table::visible_cellsinrow()
 table::wml()

Inherited From HTMLObject

 HTMLObject::HTMLObject()
 HTMLObject::inherit_attributes()
 HTMLObject::setaccesskey()
 HTMLObject::setalign()
 HTMLObject::setalt()
 HTMLObject::setbackground()
 HTMLObject::setbgcolor()
 HTMLObject::setborder()
 HTMLObject::setcolor()
 HTMLObject::setheight()
 HTMLObject::sethspace()
 HTMLObject::setlang()
 HTMLObject::setlangdir()
 HTMLObject::setname()
 HTMLObject::setsize()
 HTMLObject::setsrc()
 HTMLObject::settabindex()
 HTMLObject::settarget()
 HTMLObject::settitle()
 HTMLObject::setvalign()
 HTMLObject::setvspace()
 HTMLObject::setwidth()
 HTMLObject::set_attribute()
 HTMLObject::set_linkover_text()
 HTMLObject::set_onblur()
 HTMLObject::set_onchange()
 HTMLObject::set_onclick()
 HTMLObject::set_ondblclick()
 HTMLObject::set_onfocus()
 HTMLObject::set_onkeydown()
 HTMLObject::set_onkeypress()
 HTMLObject::set_onkeyup()
 HTMLObject::set_onload()
 HTMLObject::set_onmousedown()
 HTMLObject::set_onmousemove()
 HTMLObject::set_onmouseout()
 HTMLObject::set_onmouseover()
 HTMLObject::set_onmouseup()
 HTMLObject::set_onselect()
 HTMLObject::set_tabindex()
 HTMLObject::taghtml()

Inherited From StylableObject

 StylableObject::StylableObject()
 StylableObject::clearstyle()
 StylableObject::setclass()
 StylableObject::setcss()
 StylableObject::setid()
 StylableObject::setstyle()

Inherited From RenderableObject

 RenderableObject::RenderableObject()
 RenderableObject::html()
 RenderableObject::render()
 RenderableObject::wml()
 RenderableObject::wmlup()
 RenderableObject::xml()

Documentation generated by phpDocumentor 1.3.0RC3