- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\Lib\Store\TypeDispatchingUrlLookup::__construct |
( |
array |
$callbacks, |
|
|
EntityUrlLookup |
$defaultLookup |
|
) |
| |
◆ getFullUrl()
Wikibase\Lib\Store\TypeDispatchingUrlLookup::getFullUrl |
( |
EntityId |
$id | ) |
|
◆ getLinkUrl()
Wikibase\Lib\Store\TypeDispatchingUrlLookup::getLinkUrl |
( |
EntityId |
$id | ) |
|
Get a URL that's the simplest URL that will be valid to link, locally, to the current Entity.
Example Contexts:
- Regular Wikibase Entities will normally want to return relative URLs.
- Entities on remote Wikibases probably always want to return full URLs.
Example Values: /wiki/Property:P123 or similar to getFullUrl()
- Parameters
-
- Returns
- string|null
Implements Wikibase\Lib\Store\EntityUrlLookup.
◆ $serviceDispatcher
Wikibase\Lib\Store\TypeDispatchingUrlLookup::$serviceDispatcher |
|
private |
The documentation for this class was generated from the following file: