![]() |
Joomla CMS
3.9.25 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.9.25 et du framework Joomla Platform intégré
|
Graphe d'héritage de JMediawikiLinks:Fonctions membres publiques | |
| getLinks (array $titles, array $plnamespace=null, $pllimit=null, $plcontinue=null, array $pltitles=null, $pldir=null) | |
| getLinksUsed (array $titles) | |
| getIWLinks (array $titles, $iwurl=false, $iwlimit=null, $iwcontinue=false, $iwprefix=null, $iwtitle=null, $iwdir=null) | |
| getLangLinks (array $titles, $lllimit=null, $llcontinue=false, $llurl=null, $lllang=null, $lltitle=null, $lldir=null) | |
| getExtLinks (array $titles, $ellimit=null, $eloffset=null, $elprotocol=null, $elquery=null) | |
| enumerateLinks ($alcontinue=false, $alfrom=null, $alto=null, $alprefix=null, $alunique=null, array $alprop=null, $alnamespace=null, $allimit=null) | |
Fonctions membres publiques hérités de JMediawikiObject | |
| __construct (Registry $options=null, JMediawikiHttp $client=null) | |
| buildParameter (array $params) | |
| validateResponse ($response) | |
Membres hérités additionnels | |
Fonctions membres protégées hérités de JMediawikiObject | |
| fetchUrl ($path) | |
Attributs protégés hérités de JMediawikiObject | |
| $options | |
| $client | |
MediaWiki API Links class for the Joomla Platform.
| enumerateLinks | ( | $alcontinue = false, |
|
$alfrom = null, |
|||
$alto = null, |
|||
$alprefix = null, |
|||
$alunique = null, |
|||
| array | $alprop = null, |
||
$alnamespace = null, |
|||
$allimit = null |
|||
| ) |
Method to enumerate all links that point to a given namespace.
| boolean | $alcontinue | When more results are available, use this to continue. |
| string | $alfrom | Start listing at this title. The title need not exist. |
| string | $alto | The page title to stop enumerating at. |
| string | $alprefix | Search for all page titles that begin with this value. |
| string | $alunique | Only show unique links. |
| array | $alprop | What pieces of information to include. |
| string | $alnamespace | The namespace to enumerate. |
| integer | $allimit | Number of links to return. |
Références $path.
| getExtLinks | ( | array | $titles, |
$ellimit = null, |
|||
$eloffset = null, |
|||
$elprotocol = null, |
|||
$elquery = null |
|||
| ) |
Method to return all external urls from the given page(s).
| array | $titles | Page titles to retrieve links. |
| integer | $ellimit | Number of links to return. |
| string | $eloffset | When more results are available, use this to continue. |
| string | $elprotocol | Protocol of the url. |
| string | $elquery | Search string without protocol. |
Références $path.
| getIWLinks | ( | array | $titles, |
$iwurl = false, |
|||
$iwlimit = null, |
|||
$iwcontinue = false, |
|||
$iwprefix = null, |
|||
$iwtitle = null, |
|||
$iwdir = null |
|||
| ) |
Method to return all interwiki links from the given page(s).
| array | $titles | Page titles to retrieve links. |
| boolean | $iwurl | Whether to get the full url. |
| integer | $iwlimit | Number of interwiki links to return. |
| boolean | $iwcontinue | When more results are available, use this to continue. |
| string | $iwprefix | Prefix for the interwiki. |
| string | $iwtitle | Interwiki link to search for. |
| string | $iwdir | The direction in which to list. |
Références $path.
| getLangLinks | ( | array | $titles, |
$lllimit = null, |
|||
$llcontinue = false, |
|||
$llurl = null, |
|||
$lllang = null, |
|||
$lltitle = null, |
|||
$lldir = null |
|||
| ) |
Method to return all interlanguage links from the given page(s).
| array | $titles | Page titles to retrieve links. |
| integer | $lllimit | Number of language links to return. |
| boolean | $llcontinue | When more results are available, use this to continue. |
| string | $llurl | Whether to get the full URL. |
| string | $lllang | Language code. |
| string | $lltitle | Link to search for. |
| string | $lldir | The direction in which to list. |
Références $path.
| getLinks | ( | array | $titles, |
| array | $plnamespace = null, |
||
$pllimit = null, |
|||
$plcontinue = null, |
|||
| array | $pltitles = null, |
||
$pldir = null |
|||
| ) |
Method to return all links from the given page(s).
| array | $titles | Page titles to retrieve links. |
| array | $plnamespace | Namespaces to get links. |
| string | $pllimit | Number of links to return. |
| string | $plcontinue | Continue when more results are available. |
| array | $pltitles | List links to these titles. |
| string | $pldir | Direction of listing. |
Références $path.
| getLinksUsed | ( | array | $titles | ) |
Method to return info about the link pages.
| array | $titles | Page titles to retrieve links. |
Références $path.