19declare(strict_types=1);
41 private readonly array $actions
60 ? $action->getTableAction($url_builder, $row_id_token, $action_token, $action_type_token)
70 return $this->actions[$action_id] ??
null;
76 array_keys($this->actions),
77 fn(
DataRow $c,
string $v):
DataRow => $this->actions[$v]->allowActionForRecord($record)
79 :
$c->withDisabledAction($v),
getAction(string $action_id)
const string ROW_ID_PARAMETER
const string ACTION_PARAMETER
__construct(protected readonly \ilGlobalTemplateInterface $tpl, private readonly array $actions)
const string FULL_ROW_ID_PARAMETER
const string ACTION_TYPE_PARAMETER
setAvailabilityOnDataRow(DataRow $row, mixed $record)
getEnabledActions(URLBuilder $url_builder, URLBuilderToken $row_id_token, URLBuilderToken $action_token, URLBuilderToken $action_type_token)
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...