soo_txp_obj API Documentation

soo_html_table Class Reference

Class for (X)HTML table elements. More...

List of all members.

Public Member Functions

 __construct ($atts=array(), $content=null)
 Constructor.
 contents ($content)
 Add string|object|array to $contents array.

Protected Attributes

(X)HTML attributes

 $summary = ''
 $width = ''
 $border = ''
 $frame = ''
 $rules = ''
 $cellspacing = ''
 $cellpadding = ''

Detailed Description

Class for (X)HTML table elements.

Definition at line 1368 of file soo_txp_obj.php.


Constructor & Destructor Documentation

soo_html_table::__construct ( atts = array(),
content = null 
)

Constructor.

Parameters:
atts Attributes (array of name=>value pairs)
content Element content (string, soo_html object, or array thereof)
See also:
contents() for $content options

Definition at line 1386 of file soo_txp_obj.php.


Member Function Documentation

soo_html_table::contents ( content  ) 

Add string|object|array to $contents array.

If this is a soo_html_table_component object, or an array of such, it will be added directly. Otherwise it is assumed to be a single item or 2-dimensional array of such, and will be formed into a grid of table cells/rows.

Parameters:
content 

Reimplemented from soo_html.

Definition at line 1399 of file soo_txp_obj.php.


The documentation for this class was generated from the following file:
 All Classes Functions Variables