soo_txp_obj API Documentation

soo_html_list Class Reference

Base class for (X)HTML ol and ul elements. More...

List of all members.

Public Member Functions

 __construct ($element_name, $atts, $content, $class)
 Constructor.

Detailed Description

Base class for (X)HTML ol and ul elements.

Definition at line 1557 of file soo_txp_obj.php.


Constructor & Destructor Documentation

soo_html_list::__construct ( element_name,
atts,
content,
class 
)

Constructor.

If $content is an array, each item that is not an array will be added as a soo_html_li object; each item that is an array will be added to the previous soo_html_li object as a new list of the same class (hence this is a recursive function). Any other content will be added as a soo_html_li object.

Parameters:
element_name Element namd (ol or ul)
atts Attributes (array of name=>value pairs)
content Element content (string, soo_html object, or array thereof)

Reimplemented from soo_html.

Definition at line 1569 of file soo_txp_obj.php.


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