Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
html_table_cell Class Reference

Component representing a table cell. More...

Public Member Functions

 __construct ($text=null)
 Constructs a table cell.
 

Public Attributes

string $abbr = null
 Abbreviated version of the contents of the cell.
 
array $attributes = array()
 Attributes of additional HTML attributes for the element.
 
int $colspan = null
 Number of columns this cell should span.
 
bool $header = null
 Whether or not this cell is a header cell.
 
string $id = null
 Value to use for the id attribute of the cell.
 
int $rowspan = null
 Number of rows this cell should span.
 
string $scope = null
 Defines a way to associate header cells and data cells in a table.
 
string $style = null
 Value to use for the style attribute of the table cell.
 
string $text
 The contents of the cell.
 

Detailed Description

Component representing a table cell.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Since
Moodle 2.0

Constructor & Destructor Documentation

◆ __construct()

html_table_cell::__construct ( $text = null)

Constructs a table cell.

Parameters
string$text

The documentation for this class was generated from the following file: