Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

LogPage Class Reference

List of all members.

Public Member Functions

 LogPage ($title, $defaulttext="<ul>\n</ul>")
 getContent ($defaulttext="<ul>\n</ul>")
 getTimestamp ()
 saveContent ()
 addEntry ($action, $comment, $textaction="")
 replaceContent ($text, $comment="")
 showAsDisabledPage ($rawhtml=true)

Public Attributes

 $mTitle
 $mContent
 $mContentLoaded
 $mId
 $mComment
 $mUpdateRecentChanges

Constructor & Destructor Documentation

LogPage::LogPage title,
defaulttext = "<ul>\n</ul>"
 

Definition at line 8 of file LogPage.php.

References getContent(), and title.


Member Function Documentation

LogPage::addEntry action,
comment,
textaction = ""
 

Definition at line 90 of file LogPage.php.

References $action, $comment, $d, $wgLang, $wgUser, addEntry(), saveContent(), wfEscapeWikiText(), and wfTimestampNow().

Referenced by addEntry().

LogPage::getContent defaulttext = "<ul>\n</ul>"  ) 
 

Definition at line 19 of file LogPage.php.

References $res, $s, $sql, DB_READ, getContent(), Namespace::getWikipedia(), wfFetchObject(), wfNumRows(), wfQuery(), wfStrencode(), and wfTimestampNow().

Referenced by getContent(), and LogPage().

LogPage::getTimestamp  ) 
 

Definition at line 41 of file LogPage.php.

LogPage::replaceContent text,
comment = ""
 

Definition at line 136 of file LogPage.php.

References $comment, replaceContent(), saveContent(), and wfTimestampNow().

Referenced by replaceContent().

LogPage::saveContent  ) 
 

Definition at line 49 of file LogPage.php.

References $sql, $wgUser, DB_WRITE, Namespace::getWikipedia(), wfInsertId(), wfInvertTimestamp(), wfQuery(), wfReadOnly(), wfStrencode(), and wfTimestampNow().

Referenced by addEntry(), and replaceContent().

LogPage::showAsDisabledPage rawhtml = true  ) 
 

Definition at line 144 of file LogPage.php.

References $wgLang, $wgOut, showAsDisabledPage(), and wfMsg().

Referenced by showAsDisabledPage().


Member Data Documentation

LogPage::$mComment
 

Definition at line 5 of file LogPage.php.

LogPage::$mContent
 

Definition at line 5 of file LogPage.php.

LogPage::$mContentLoaded
 

Definition at line 5 of file LogPage.php.

LogPage::$mId
 

Definition at line 5 of file LogPage.php.

LogPage::$mTitle
 

Definition at line 5 of file LogPage.php.

LogPage::$mUpdateRecentChanges
 

Definition at line 6 of file LogPage.php.


The documentation for this class was generated from the following file:
Generated on Tue Jun 29 23:40:48 2004 for Mediawiki by doxygen 1.3.7