trait StateHandler

Properties

bool $handle_state
string $handler_prefix

Methods

void
useStateHandler(bool $bool)

Enable or disable persisting column visibility to the database.

void
setHandlerPrefix(string $string)

Set a prefix for the state handler key to differentiate tables.

void
saveTableState()

Save the current column visibility state to the database.

void
setTableState()

Restore column visibility state from the database.

Details

at line 19
void useStateHandler(bool $bool)

Enable or disable persisting column visibility to the database.

Parameters

bool $bool

Return Value

void

at line 29
void setHandlerPrefix(string $string)

Set a prefix for the state handler key to differentiate tables.

Parameters

string $string

Return Value

void

at line 39
void saveTableState()

Save the current column visibility state to the database.

Return Value

void

at line 60
void setTableState()

Restore column visibility state from the database.

Return Value

void