SnakUrlExpander that uses an PropertyInfoProvider to find a URL pattern for expanding a Snak's value into an URL.
More...
SnakUrlExpander that uses an PropertyInfoProvider to find a URL pattern for expanding a Snak's value into an URL.
- Copyright
- GPL-2.0-or-later
- Author
- Daniel Kinzler
◆ __construct()
◆ expandUrl()
Wikibase\Lib\PropertyInfoSnakUrlExpander::expandUrl |
( |
PropertyValueSnak |
$snak | ) |
|
◆ $infoProvider
Wikibase\Lib\PropertyInfoSnakUrlExpander::$infoProvider |
|
private |
◆ ALLOWED_PROTOCOLS
const Wikibase\Lib\PropertyInfoSnakUrlExpander::ALLOWED_PROTOCOLS |
|
private |
Initial value:= [
'https' => null,
'http' => null,
'tel' => null,
]
URL protocols (schemes) that are allowed in the pattern.
The documentation for this class was generated from the following file: