MediaWiki
REL1_34
TempFileRepo.php
Go to the documentation of this file.
1
<?php
5
class
TempFileRepo
extends
FileRepo
{
6
public
function
getTempRepo
() {
7
throw
new
MWException
(
"Cannot get a temp repo from a temp repo."
);
8
}
9
}
FileRepo
Base class for file repositories.
Definition
FileRepo.php:39
MWException
MediaWiki exception.
Definition
MWException.php:26
TempFileRepo
FileRepo for temporary files created via FileRepo::getTempRepo()
Definition
TempFileRepo.php:5
TempFileRepo\getTempRepo
getTempRepo()
Get a temporary private FileRepo associated with this repo.
Definition
TempFileRepo.php:6
includes
filerepo
TempFileRepo.php
Generated on Fri Apr 5 2024 23:09:55 for MediaWiki by
1.9.8