MediaWiki
master
ImportSource.php
Go to the documentation of this file.
1
<?php
13
namespace
MediaWiki\Import
;
14
20
interface
ImportSource
{
21
28
public
function
atEnd
();
29
38
public
function
readChunk
();
39
45
public
function
isSeekable
();
46
53
public
function
seek
(
int
$offset );
54
}
55
57
class_alias( ImportSource::class,
'ImportSource'
);
MediaWiki\Import\ImportSource
Source interface for XML import.
Definition
ImportSource.php:20
MediaWiki\Import\ImportSource\isSeekable
isSeekable()
Check if the source is seekable and a call to self::seek is valid.
MediaWiki\Import\ImportSource\atEnd
atEnd()
Indicates whether the end of the input has been reached.
MediaWiki\Import\ImportSource\readChunk
readChunk()
Return a chunk of the input, as a (possibly empty) string.
MediaWiki\Import\ImportSource\seek
seek(int $offset)
Seek the input to the given offset.
MediaWiki\Import
includes
Import
ImportSource.php
Generated on Thu Jan 22 2026 22:24:37 for MediaWiki by
1.10.0