MediaWiki  REL1_24
WikiRevision Class Reference
Collaboration diagram for WikiRevision:

List of all members.

Public Member Functions

 downloadSource ()
 getAction ()
 getArchiveName ()
 getComment ()
 getContent ()
 getContentHandler ()
 getFilename ()
 getFileSrc ()
 getFormat ()
 getID ()
 getMinor ()
 getModel ()
 getParams ()
 getSha1 ()
 getSize ()
 getSrc ()
 getText ()
 getTimestamp ()
 getTitle ()
 getType ()
 getUser ()
 importLogItem ()
 importOldRevision ()
 importUpload ()
 isTempSrc ()
 setAction ($action)
 setArchiveName ($archiveName)
 setComment ($text)
 setFilename ($filename)
 setFileSrc ($src, $isTemp)
 setFormat ($format)
 setID ($id)
 setMinor ($minor)
 setModel ($model)
 setNoUpdates ($noupdates)
 setParams ($params)
 setSha1Base36 ($sha1base36)
 setSize ($size)
 setSrc ($src)
 setText ($text)
 setTimestamp ($ts)
 setTitle ($title)
 setType ($type)
 setUserIP ($ip)
 setUsername ($user)

Public Attributes

string $action = ""
 *
string $archiveName = ''
 *
string $comment = ""
 *
Content $content = null
 *
 $fileIsTemp
string $fileSrc = ''
 *
string $format = null
 *
int $id = 0
 *
 $importer = null
bool $isTemp = false
bool $minor = false
 *
string $model = null
 *
string $params = ""
 *
bool string $sha1base36 = false
 *
string $text = ""
 *
string $timestamp = "20010115000000"
 *
Title $title = null
 *
string $type = ""
 *
int $user = 0
string $user_text = ""
 *

Protected Attributes

ContentHandler $contentHandler = null
 *
 $filename
int $size
 *
mixed $src
 *

Private Attributes

bool $mNoUpdates = false
 *

Detailed Description

Todo:
document (e.g.

one-sentence class description).

Definition at line 1013 of file Import.php.


Member Function Documentation

Returns:
bool|string

Definition at line 1585 of file Import.php.

Returns:
string

Definition at line 1382 of file Import.php.

Returns:
string

Definition at line 1361 of file Import.php.

Returns:
string

Definition at line 1309 of file Import.php.

Returns:
Content

Definition at line 1275 of file Import.php.

Returns:
ContentHandler

Definition at line 1264 of file Import.php.

Referenced by getSrc().

Returns:
mixed

Definition at line 1354 of file Import.php.

Returns:
string

Definition at line 1340 of file Import.php.

Returns:
string

Definition at line 1298 of file Import.php.

Returns:
int

Definition at line 1232 of file Import.php.

References $params.

Returns:
bool

Definition at line 1316 of file Import.php.

Returns:
string

Definition at line 1287 of file Import.php.

Returns:
string

Definition at line 1389 of file Import.php.

Returns:
bool|string

Definition at line 1330 of file Import.php.

Returns:
mixed

Definition at line 1368 of file Import.php.

Returns:
mixed

Definition at line 1323 of file Import.php.

References format, and getContentHandler().

Returns:
string
Deprecated:
Since 1.21, use getContent() instead.

Definition at line 1255 of file Import.php.

Returns:
string

Definition at line 1239 of file Import.php.

Returns:
Title

Definition at line 1225 of file Import.php.

References $action, and action.

Returns:
string

Definition at line 1375 of file Import.php.

Returns:
string

Definition at line 1246 of file Import.php.

References title.

Definition at line 1472 of file Import.php.

Returns:
bool

Definition at line 1396 of file Import.php.

References type.

Returns:
bool

Definition at line 1519 of file Import.php.

References wfDebug().

Returns:
bool

Definition at line 1347 of file Import.php.

WikiRevision::setAction ( action)
Parameters:
string$action

Definition at line 1204 of file Import.php.

References $archiveName.

WikiRevision::setArchiveName ( archiveName)
Parameters:
string$archiveName

Definition at line 1183 of file Import.php.

Parameters:
string$text

Definition at line 1139 of file Import.php.

References $model.

WikiRevision::setFilename ( filename)
Parameters:
string$filename

Definition at line 1176 of file Import.php.

WikiRevision::setFileSrc ( src,
isTemp 
)
Parameters:
string$src
bool$isTemp

Definition at line 1161 of file Import.php.

WikiRevision::setFormat ( format)
Parameters:
string$format

Definition at line 1125 of file Import.php.

References $user.

Parameters:
int$id

Definition at line 1089 of file Import.php.

References $title, and title.

Referenced by WikiImporter\processLogItem(), and WikiImporter\processRevision().

WikiRevision::setMinor ( minor)
Parameters:
bool$minor

Definition at line 1146 of file Import.php.

References $format, and format.

WikiRevision::setModel ( model)
Parameters:
string$model

Definition at line 1118 of file Import.php.

WikiRevision::setNoUpdates ( noupdates)
Parameters:
bool$noupdates

Definition at line 1218 of file Import.php.

References $type, and type.

WikiRevision::setParams ( params)
Parameters:
array$params

Definition at line 1211 of file Import.php.

References $size.

WikiRevision::setSha1Base36 ( sha1base36)
Parameters:
string$sha1base36

Definition at line 1169 of file Import.php.

WikiRevision::setSize ( size)
Parameters:
int$size

Definition at line 1190 of file Import.php.

References $sha1base36.

Parameters:
mixed$src

Definition at line 1153 of file Import.php.

References $text, and text.

WikiRevision::setText ( text)
Parameters:
string$text

Definition at line 1132 of file Import.php.

Referenced by DumpIterator\execute().

Parameters:
string$ts

Definition at line 1096 of file Import.php.

WikiRevision::setTitle ( title)
Parameters:
Title$title
Exceptions:
MWException

Definition at line 1075 of file Import.php.

Referenced by WikiImporter\processUpload().

WikiRevision::setType ( type)
Parameters:
string$type

Definition at line 1197 of file Import.php.

References $filename.

Parameters:
string$ip

Definition at line 1111 of file Import.php.

Parameters:
string$user

Definition at line 1104 of file Import.php.


Member Data Documentation

string WikiRevision::$action = ""

*

Definition at line 1047 of file Import.php.

Referenced by getTitle().

string WikiRevision::$archiveName = ''

*

Definition at line 1060 of file Import.php.

Referenced by setAction().

string WikiRevision::$comment = ""

*

Definition at line 1041 of file Import.php.

Content WikiRevision::$content = null

*

Definition at line 1037 of file Import.php.

ContentHandler WikiRevision::$contentHandler = null [protected]

*

Definition at line 1039 of file Import.php.

WikiRevision::$fileIsTemp
Todo:
Unused?

Definition at line 1067 of file Import.php.

WikiRevision::$filename [protected]

Definition at line 1062 of file Import.php.

Referenced by setType().

string WikiRevision::$fileSrc = ''

*

Definition at line 1051 of file Import.php.

string WikiRevision::$format = null

*

Definition at line 1031 of file Import.php.

Referenced by setMinor().

int WikiRevision::$id = 0

*

Definition at line 1019 of file Import.php.

WikiRevision::$importer = null
Todo:
Unused?

Definition at line 1015 of file Import.php.

bool WikiRevision::$isTemp = false
Todo:
Unused?

Definition at line 1058 of file Import.php.

bool WikiRevision::$minor = false

*

Definition at line 1043 of file Import.php.

bool WikiRevision::$mNoUpdates = false [private]

*

Definition at line 1069 of file Import.php.

string WikiRevision::$model = null

*

Definition at line 1029 of file Import.php.

Referenced by setComment().

string WikiRevision::$params = ""

*

Definition at line 1049 of file Import.php.

Referenced by getID().

bool string WikiRevision::$sha1base36 = false

*

Definition at line 1053 of file Import.php.

Referenced by setSize().

int WikiRevision::$size [protected]

*

Definition at line 1035 of file Import.php.

Referenced by setParams().

mixed WikiRevision::$src [protected]

*

Definition at line 1064 of file Import.php.

string WikiRevision::$text = ""

*

Definition at line 1033 of file Import.php.

Referenced by setSrc().

string WikiRevision::$timestamp = "20010115000000"

*

Definition at line 1021 of file Import.php.

Title WikiRevision::$title = null

*

Definition at line 1017 of file Import.php.

Referenced by setID().

string WikiRevision::$type = ""

*

Definition at line 1045 of file Import.php.

Referenced by setNoUpdates().

int WikiRevision::$user = 0
Todo:
Can't find any uses.

Public, because that's suspicious. Get clarity. *

Definition at line 1025 of file Import.php.

Referenced by setFormat().

string WikiRevision::$user_text = ""

*

Definition at line 1027 of file Import.php.


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