19declare(strict_types=1);
25use ILIAS\UI\Implementation\Component\ComponentHelper;
45 protected bool $table_has_singleactions,
76 return $this->table_has_singleactions;
87 function (
string $id):
bool {
88 return !array_key_exists(
$id, $this->disabled_actions);
96 if (!array_key_exists($col_id, $this->
record)) {
99 return $this->
columns[$col_id]->format($this->
record[$col_id]);
bool()
Get a kind transformation to a bool.
getCellContent(string $col_id)
__construct(protected bool $table_has_singleactions, protected bool $table_has_multiactions, protected array $columns, protected array $actions, protected string $id, protected array $record)
The records's key is the column-id of the table.
withDisabledAction(string $action_id, bool $disable=true)
bool $table_has_multiactions
ilAdvancedMDRecord $record
clone(int $target_parent_obj_id)
A component is the most general form of an entity in the UI.