3 declare(strict_types=1);
37 $query = $this->base_url->getQuery();
41 parse_str($this->base_url->getQuery(),
$params);
44 $params[self::PARAM_LSO_COMMAND] = $command;
46 unset($params[self::PARAM_LSO_PARAMETER]);
48 $params[self::PARAM_LSO_PARAMETER] =
$param;
50 return $this->base_url->withQuery(http_build_query($params));
56 return $url->getBaseURI() .
'?' .
$url->getQuery();
if(! $DIC->user() ->getId()||!ilLTIConsumerAccess::hasCustomProviderCreationAccess()) $params
Class ChatMainBarProvider .
__construct(ILIAS\Data\URI $base_url)
const PARAM_LSO_PARAMETER
getHref(string $command, int $param=null)
The URLBuilder allows views to get links that are used somewhere inline in the content.
getURL(string $command, int $param=null)
Get an URL for the provided command and params.