Column
class Column
This class allows the storage and retrieval of the attributes of a column of a Table object
Properties
private Table | $table | ||
private int | $id | ||
private string | $name | ||
private string | $type | ||
private string | $label | ||
private bool | $selected |
Methods
Retrieves the ID of this column
Sets the ID of this column
Retrieves the name of this column
Sets the name of this column
Retrieves the type of this column
Sets the type of this column
Retrieves the label of this column
Sets the label of this column
Retrieves the selected attribute of this Column object
Retrieves the selected attribute of this Column object
Determines whether this column is selected or not
Details
at line 98
void
__construct(Table|null $table, int $id, string $name, string $type)
Constructor of class Column
at line 112
Table
getTable()
Retrieves the Table object to which the column belongs
at line 123
int
getId()
Retrieves the ID of this column
at line 135
void
setId(int $id)
Sets the ID of this column
at line 146
string
getName()
Retrieves the name of this column
at line 158
void
setName(string $name)
Sets the name of this column
at line 169
string
getType()
Retrieves the type of this column
at line 181
void
setType(string $type)
Sets the type of this column
at line 192
string
getLabel()
Retrieves the label of this column
at line 204
void
setLabel(string $label)
Sets the label of this column
at line 215
bool
isSelected()
Retrieves the selected attribute of this Column object
at line 226
bool
getSelected()
Retrieves the selected attribute of this Column object
at line 238
void
setSelected(bool $selected)
Determines whether this column is selected or not