GNU GPL v2+
- Since
- 2.4
- Author
- mwjames
◆ __construct()
SMW\DataValues\InfoLinksProvider::__construct |
( |
DataValue |
$dataValue, |
|
|
PropertySpecificationLookup |
$propertySpecificationLookup |
|
) |
| |
- Since
- 2.4
- Parameters
-
DataValue | $dataValue | |
PropertySpecificationLookup | $propertySpecificationLookup | |
◆ addInfolink()
SMW\DataValues\InfoLinksProvider::addInfolink |
( |
Infolink |
$infoLink | ) |
|
Adds a single SMWInfolink object to the infoLinks array.
- Since
- 2.4
- Parameters
-
◆ addServiceLinks()
SMW\DataValues\InfoLinksProvider::addServiceLinks |
( |
| ) |
|
Servicelinks are special kinds of infolinks that are created from current parameters and in-wiki specification of URL templates. This method adds the current property's servicelinks found in the messages. The number and content of the parameters is depending on the datatype, and the service link message is usually crafted with a particular datatype in mind.
◆ createInfoLinks()
SMW\DataValues\InfoLinksProvider::createInfoLinks |
( |
| ) |
|
Return an array of SMWLink objects that provide additional resources for the given value. Captions can contain some HTML markup which is admissible for wiki text, but no more. Result might have no entries but is always an array.
- Since
- 2.4
◆ disableServiceLinks()
SMW\DataValues\InfoLinksProvider::disableServiceLinks |
( |
| ) |
|
◆ getInfolinkText()
SMW\DataValues\InfoLinksProvider::getInfolinkText |
( |
|
$outputformat, |
|
|
|
$linker = null |
|
) |
| |
Return text serialisation of info links. Ensures more uniform layout throughout wiki (Factbox, Property pages, ...).
- Parameters
-
integer | $outputformat | Element of the SMW_OUTPUT_ enum |
Linker | null | $linker | |
- Returns
- string
◆ init()
SMW\DataValues\InfoLinksProvider::init |
( |
| ) |
|
◆ setCompactLink()
SMW\DataValues\InfoLinksProvider::setCompactLink |
( |
|
$compactLink | ) |
|
◆ setServiceLinkParameters()
SMW\DataValues\InfoLinksProvider::setServiceLinkParameters |
( |
|
$serviceLinkParameters | ) |
|
- Since
- 2.4
- Parameters
-
array | false | $serviceLinkParameters | |
The documentation for this class was generated from the following file: