19 declare(strict_types=1);
45 protected string $label,
49 $this->target = $url_builder->
buildURI();
84 $target = $clone->getTarget();
86 if ($target instanceof
Signal) {
87 $target->addOption(
'rowid', $row_id);
89 if ($target instanceof
URI) {
91 $this->row_id_parameter,
102 return $this->url_builder->renderObject([$this->row_id_parameter]);
106 return $this->url_builder->renderTokens([$this->row_id_parameter]);
buildURI()
Get a URI representation of the full URL including query string and fragment/hash.
withSignalTarget(Signal $target)
const OPT_ACTIONID
JS needs to know about the type of an action and where to find the options (in case of signal) Theses...
__construct(protected string $label, protected URLBuilder $url_builder, protected URLBuilderToken $row_id_parameter)
withAsync(bool $async=true)
withParameter(string $key, $value)
Get URI with modified parameters.
withRowId(string $row_id)