HTML_Table::setRowAttributes()
Synopsis
void HTML_Table::setRowAttributes (
int $row
,
mixed $attributes
,
boolean $inTR
= false
,
int $body=0
)
Описание
Sets the attributes for an existing row
Parameter
-
int $row
- Row index -
mixed $attributes
- Associative array or string of table row attributes. This can also be an array of attributes, in which case the attributes will be repeated in a loop. -
boolean $inTR
- FALSE, if attributes are to be applied intd
tags; TRUE, if attributes are to be applied intr
tag -
int $body
- The number of thetbody
group that should be used
Throws
Error code | Error message | Meaning | Solution |
---|---|---|---|
"
Invalid table row reference [$row ]
"
|
The row $row does not exists |
Enable the autoGrow feature |
|
"
Invalid table column reference [$column ]
"
|
The column $column does not exists
|
Enable the autoGrow feature |
Замечание
This function can not be called statically.