MediaWiki  master
InterwikiLookup.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Interwiki;
4 
25 use Interwiki;
26 
32 interface InterwikiLookup {
33 
40  public function isValidInterwiki( $prefix );
41 
48  public function fetch( $prefix );
49 
67  public function getAllPrefixes( $local = null );
68 
73  public function invalidateCache( $prefix );
74 
75 }
getAllPrefixes( $local=null)
Returns information about all interwiki prefixes, in the form of rows of the interwiki table...
fetch( $prefix)
Fetch an Interwiki object.
invalidateCache( $prefix)
Purge the in-process and persistent object cache for an interwiki prefix.
isValidInterwiki( $prefix)
Check whether an interwiki prefix exists.
Service interface for looking up Interwiki records.
Value object for representing interwiki records.
Definition: Interwiki.php:27
Copyright (C) 2018 Kunal Mehta legoktm@member.fsf.org