LogImporter Class Reference
[Maintenance]

Log importer. More...

List of all members.

Public Member Functions

 LogImporter ($type)
 setupActions ()
 makeLineRegexp ($type, $action)
 importText ($text)
 fixDate ($date)
 importLine ($line)

Public Attributes

 $dummy = false


Detailed Description

Log importer.

Todo:
document

Definition at line 41 of file importLogs.inc.


Member Function Documentation

LogImporter::fixDate ( date  ) 

Definition at line 86 of file importLogs.inc.

References $n, and wfTimestamp().

Referenced by importLine().

LogImporter::importLine ( line  ) 

Definition at line 101 of file importLogs.inc.

References $action, $user, fixDate(), User::idFromName(), Title::newFromText(), and wfUnescapeWikiText().

Referenced by importText().

LogImporter::importText ( text  ) 

Definition at line 72 of file importLogs.inc.

References $text, importLine(), and print.

LogImporter::LogImporter ( type  ) 

Definition at line 44 of file importLogs.inc.

References $type, setupActions(), and wfGetDB().

LogImporter::makeLineRegexp ( type,
action 
)

Definition at line 59 of file importLogs.inc.

References $action, $text, $type, and LogPage::actionText().

Referenced by setupActions().

LogImporter::setupActions (  ) 

Definition at line 50 of file importLogs.inc.

References $action, $key, and makeLineRegexp().

Referenced by LogImporter().


Member Data Documentation

LogImporter::$dummy = false

Definition at line 42 of file importLogs.inc.


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

Generated on Sat Sep 5 02:08:41 2009 for MediaWiki by  doxygen 1.5.9