Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SMW\MediaWiki\FileRepoFinder Class Reference

Public Member Functions

 __construct (RepoGroup $repoGroup)
 
 findFile (Title $title, array $options=[])
 
 findFromArchive ( $sha1, $timestamp)
 

Detailed Description

GNU GPL v2+

Since
3.2
Author
mwjames

Constructor & Destructor Documentation

◆ __construct()

SMW\MediaWiki\FileRepoFinder::__construct ( RepoGroup  $repoGroup)
Since
3.2
Parameters
RepoGroup$repoGroup

Member Function Documentation

◆ findFile()

SMW\MediaWiki\FileRepoFinder::findFile ( Title  $title,
array  $options = [] 
)
Since
3.2
Parameters
Title$title
array$options
Returns
File|bool File, or false if the file does not exist

◆ findFromArchive()

SMW\MediaWiki\FileRepoFinder::findFromArchive (   $sha1,
  $timestamp 
)
Since
3.2
Parameters
string$sha1
string$timestamp
Returns
File|bool File, or false if the file does not exist

The documentation for this class was generated from the following file:

About | General disclaimer | Privacy policy