RawPage Class Reference

A simple method to retrieve the plain source of an article, using "action=raw" in the GET request string. More...

List of all members.

Public Member Functions

 __construct (&$article, $request=false)
 view ()
 getRawText ()
 getArticleText ()
 parseArticleText ($text)

Public Attributes

 $mArticle
 $mTitle
 $mRequest
 $mOldId
 $mGen
 $mCharset
 $mSection
 $mSmaxage
 $mMaxage
 $mContentType
 $mExpandTemplates


Detailed Description

A simple method to retrieve the plain source of an article, using "action=raw" in the GET request string.

Definition at line 17 of file RawPage.php.


Constructor & Destructor Documentation

RawPage::__construct ( &$  article,
request = false 
)


Member Function Documentation

RawPage::getArticleText (  ) 

RawPage::getRawText (  ) 

Definition at line 183 of file RawPage.php.

References $wgOut, $wgRequest, $wgUser, getArticleText(), and StubObject::isRealObject().

Referenced by view().

RawPage::parseArticleText ( text  ) 

Definition at line 255 of file RawPage.php.

References $text, and $wgParser.

Referenced by getArticleText().

RawPage::view (  ) 


Member Data Documentation

RawPage::$mArticle

Definition at line 18 of file RawPage.php.

RawPage::$mCharset

Definition at line 19 of file RawPage.php.

RawPage::$mContentType

Definition at line 21 of file RawPage.php.

RawPage::$mExpandTemplates

Definition at line 21 of file RawPage.php.

RawPage::$mGen

Definition at line 19 of file RawPage.php.

RawPage::$mMaxage

Definition at line 20 of file RawPage.php.

RawPage::$mOldId

Definition at line 19 of file RawPage.php.

RawPage::$mRequest

Definition at line 18 of file RawPage.php.

RawPage::$mSection

Definition at line 19 of file RawPage.php.

RawPage::$mSmaxage

Definition at line 20 of file RawPage.php.

RawPage::$mTitle

Definition at line 18 of file RawPage.php.


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

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