19 declare(strict_types=1);
42 private string $title,
44 private int $items_per_page = 100,
45 private bool $user_can_upload =
false,
46 private bool $user_can_administrate =
false,
49 $this->
ctrl = $DIC->ctrl();
57 string $parameter_namespace,
58 string $path_parameter =
'path',
59 bool $supports_directories =
false,
60 array $supported_mime_types = [
'*']
62 $this->action_provider->addSingleAction(
63 $target_gui .
'_' . $target_cmd,
72 $supports_directories,
82 $this->action_provider->addTopAction($key, $topAction, $modal);
94 return $this->stakeholder;
109 return $this->items_per_page;
119 return $this->user_can_upload;
124 return $this->user_can_administrate;
132 ILIAS_HTTP_PATH .
'/' . $this->
ctrl->getLinkTargetByClass(
withExternalTopAction(string $key, TopAction $topAction, ?RoundTrip $modal=null)
retrieveURI(string $class, string $command)
withExternalAction(string $label, string $target_gui, string $target_cmd, string $parameter_namespace, string $path_parameter='path', bool $supports_directories=false, array $supported_mime_types=[' *'])
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
ExternalActionProvider $action_provider
__construct(private StorableContainerResource $container, private ResourceStakeholder $stakeholder, private string $title, private Mode $mode=Mode::DATA_TABLE, private int $items_per_page=100, private bool $user_can_upload=false, private bool $user_can_administrate=false,)
Interface ResourceStakeholder.
ExternalActionProvider $top_action_provider