\Hubleto\Framework\Description\Table
| Implements | `JsonSerializable` |
Properties
Methods
ƒ jsonSerialize
[Description for jsonSerialize]
public jsonSerialize(): array
ƒ toArray
[Description for toArray]
public toArray(): array
ƒ show
[Description for show]
public show(array $what): void
Parameters
| Parameter | Type | Description |
|---|---|---|
$what |
array |
ƒ hide
[Description for hide]
public hide(array $what): void
Parameters
| Parameter | Type | Description |
|---|---|---|
$what |
array |
ƒ showOnlyColumns
[Description for showOnlyColumns]
public showOnlyColumns(array $columnNames): void
Parameters
| Parameter | Type | Description |
|---|---|---|
$columnNames |
array |
ƒ addColumn
[Description for showOnlyColumns]
public addColumn(string $colName, mixed $column): void
Parameters
| Parameter | Type | Description |
|---|---|---|
$colName |
string | |
$column |
mixed |
ƒ hideColumns
[Description for hideColumns]
public hideColumns(array $columnNames): void
Parameters
| Parameter | Type | Description |
|---|---|---|
$columnNames |
array |
ƒ addFilter
[Description for addFilter]
public addFilter(string $filterName, array $filterConfig): void
Parameters
| Parameter | Type | Description |
|---|---|---|
$filterName |
string | |
$filterConfig |
array |
ƒ setPermissions
[Description for setPermissions]
public setPermissions(bool|null $canCreate, bool|null $canRead, bool|null $canUpdate, bool|null $canDelete): void
Parameters
| Parameter | Type | Description |
|---|---|---|
$canCreate |
bool|null | |
$canRead |
bool|null | |
$canUpdate |
bool|null | |
$canDelete |
bool|null |
