TableSortByFieldState🔗
Sort by field state
Definition🔗
class TableSortByFieldState implements \JsonSerializable
{
/**
* Sets the display name of the field to sort by
*/
public string $displayName;
/**
* Flag used to indicate descending sort order
*/
public ?bool $desc;
}
Methods🔗
fromArray🔗
Builds this object from an array.
This function is meant to be used with the return value of json_decode($json, true)
.
jsonSerialize🔗
Returns the data representing this object, preparing it for JSON serialization with json_encode()
.