CssClassNames
class CssClassNames extends JsonConfig (View source)
CssClassNames Properties Object
An object containing all the values for the cssClassNames which can be passed into the Table's options.
Constants
TYPE |
Type of JsonConfig object
|
Methods
Builds the CssClassNames object when passed an array of options.
Shortcut method to set the value of an option and return $this.
Parses the config array by passing the values through each method to check validity against if the option exists.
Assigns a class name to the table header row (
Assigns a class name to the non-header rows (
Assigns a class name to odd table rows (
Assigns a class name to the selected table row (
Assigns a class name to the hovered table row (
Assigns a class name to all cells in the header row (
Assigns a class name to all non-header table cells (
Assigns a class name to the cells in the row number column (
Details
at line 55
__construct(
array $config = array())
Builds the CssClassNames object when passed an array of options.
in
JsonConfig at line 64
mixed
__get(
string $option)
Get the value of a set option via magic method.
in
JsonConfig at line 75
Options
getOptions()
Gets the Options object for the JsonConfig
in
JsonConfig at line 90
JsonConfig
setOption(
string $option,
mixed $value)
Shortcut method to set the value of an option and return $this.
In order to maintain backwards compatibility, ConfigObjects will be unwrapped.
in
JsonConfig at line 106
setOptions(
array $config)
Parses the config array by passing the values through each method to check validity against if the option exists.
in
JsonConfig at line 275
array
jsonSerialize()
Custom serialization of the JsonConfig object.
at line 69
CssClassNames
headerRow(
string $headerRow)
Assigns a class name to the table header row (
at line 82
CssClassNames
tableRow(
string $tableRow)
Assigns a class name to the non-header rows (
at line 95
CssClassNames
oddTableRow(
string $oddTableRow)
Assigns a class name to odd table rows (
at line 108
CssClassNames
selectedTableRow(
string $selectedTableRow)
Assigns a class name to the selected table row (
at line 121
CssClassNames
hoverTableRow(
string $hoverTableRow)
Assigns a class name to the hovered table row (
at line 134
CssClassNames
headerCell(
string $headerCell)
Assigns a class name to all cells in the header row (
at line 147
CssClassNames
tableCell(
string $tableCell)
Assigns a class name to all non-header table cells (
at line 160
CssClassNames
rowNumberCell(
string $rowNumberCell)
Assigns a class name to the cells in the row number column (