19declare(strict_types=1);
41 private string $title,
43 private int $items_per_page = 100,
44 private bool $user_can_upload =
false,
45 private bool $user_can_administrate =
false,
66 string $parameter_namespace,
67 string $path_parameter =
'path',
68 bool $supports_directories =
false,
69 array $supported_mime_types = [
'*']
71 $this->action_provider->addSingleAction(
72 $target_gui .
'_' . $target_cmd,
81 $supports_directories,
91 $this->action_provider->addTopAction($key, $topAction, $modal);
103 return $this->stakeholder;
118 return $this->items_per_page;
128 return $this->user_can_upload;
133 return $this->user_can_administrate;
138 return $this->action_provider;
PathStatusInfo $path_status_info
ExternalActionProvider $action_provider
withExternalAction(string $label, string $target_gui, string $target_cmd, string $parameter_namespace, string $path_parameter='path', bool $supports_directories=false, array $supported_mime_types=[' *'])
withExternalTopAction(string $key, TopAction $topAction, ?RoundTrip $modal=null)
withPathStatusInfo(PathStatusInfo $path_status_info)
__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.