Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
withLink (LinkInterface $link) | |
withoutLink (LinkInterface $link) | |
Fonctions membres publiques hérités de LinkProviderInterface | |
getLinks () | |
getLinksByRel ($rel) | |
An evolvable link provider value object.
withLink | ( | LinkInterface | $link | ) |
Returns an instance with the specified link included.
If the specified link is already present, this method MUST return normally without errors. The link is present if $link is === identical to a link object already in the collection.
LinkInterface | $link | A link object that should be included in this collection. |
Implémenté dans GenericLinkProvider.
withoutLink | ( | LinkInterface | $link | ) |
Returns an instance with the specifed link removed.
If the specified link is not present, this method MUST return normally without errors. The link is present if $link is === identical to a link object already in the collection.
LinkInterface | $link | The link to remove. |
Implémenté dans GenericLinkProvider.