MediaWiki  REL1_24
PoolWorkArticleView Class Reference
Inheritance diagram for PoolWorkArticleView:
Collaboration diagram for PoolWorkArticleView:

List of all members.

Public Member Functions

 __construct (Page $page, ParserOptions $parserOptions, $revid, $useParserCache, $content=null)
 doWork ()
 error ($status)
 fallback ()
 getCachedWork ()
 getError ()
 Get a Status object in case of error or false otherwise.
 getIsDirty ()
 Get whether the ParserOutput is a dirty one (i.e.
 getParserOutput ()
 Get the ParserOutput from this object, or false in case of failure.

Private Attributes

string $cacheKey
 *
Content null $content = null
 *
Status bool $error = false
 *
bool $isDirty = false
 *
Page $page
 *
ParserOptions $parserOptions
 *
ParserOutput bool $parserOutput = false
 *
int $revid
 *

Detailed Description

Definition at line 21 of file PoolWorkArticleView.php.


Constructor & Destructor Documentation

PoolWorkArticleView::__construct ( Page page,
ParserOptions parserOptions,
revid,
useParserCache,
content = null 
)
Parameters:
Page$page
ParserOptions$parserOptionsParserOptions to use for the parse
int$revidID of the revision being parsed.
bool$useParserCacheWhether to use the parser cache. operation.
Content | string$contentContent to parse or null to load it; may also be given as a wikitext string, for BC.

Definition at line 47 of file PoolWorkArticleView.php.


Member Function Documentation

Returns:
bool

Reimplemented from PoolCounterWork.

Definition at line 95 of file PoolWorkArticleView.php.

Parameters:
Status$status
Returns:
bool

Reimplemented from PoolCounterWork.

Definition at line 196 of file PoolWorkArticleView.php.

Returns:
bool

Reimplemented from PoolCounterWork.

Definition at line 177 of file PoolWorkArticleView.php.

Returns:
bool

Reimplemented from PoolCounterWork.

Definition at line 162 of file PoolWorkArticleView.php.

Get a Status object in case of error or false otherwise.

Returns:
Status|bool

Definition at line 88 of file PoolWorkArticleView.php.

Get whether the ParserOutput is a dirty one (i.e.

expired)

Returns:
bool

Definition at line 79 of file PoolWorkArticleView.php.

Get the ParserOutput from this object, or false in case of failure.

Returns:
ParserOutput

Definition at line 70 of file PoolWorkArticleView.php.


Member Data Documentation

string PoolWorkArticleView::$cacheKey [private]

*

Definition at line 24 of file PoolWorkArticleView.php.

Content null PoolWorkArticleView::$content = null [private]

*

Definition at line 30 of file PoolWorkArticleView.php.

Status bool PoolWorkArticleView::$error = false [private]

*

Definition at line 36 of file PoolWorkArticleView.php.

bool PoolWorkArticleView::$isDirty = false [private]

*

Definition at line 34 of file PoolWorkArticleView.php.

Page PoolWorkArticleView::$page [private]

*

Definition at line 22 of file PoolWorkArticleView.php.

ParserOptions PoolWorkArticleView::$parserOptions [private]

*

Definition at line 28 of file PoolWorkArticleView.php.

ParserOutput bool PoolWorkArticleView::$parserOutput = false [private]

*

Definition at line 32 of file PoolWorkArticleView.php.

int PoolWorkArticleView::$revid [private]

*

Definition at line 26 of file PoolWorkArticleView.php.


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