MediaWiki  master
Page\ExistingPageRecord Interface Reference

Data record representing a page that currently exists as an editable page on a wiki. More...

Inheritance diagram for Page\ExistingPageRecord:
Collaboration diagram for Page\ExistingPageRecord:

Public Member Functions

 exists ()
 Always true. More...
 
- Public Member Functions inherited from Page\PageRecord
 getLanguage ()
 The page's language, if explicitly recorded. More...
 
 getLatest ( $wikiId=self::LOCAL)
 The ID of the page's latest revision. More...
 
 getTouched ()
 Timestamp at which the page was last flagged for rerendering. More...
 
 isNew ()
 False if the page has had more than one edit. More...
 
 isRedirect ()
 True if the page is a redirect. More...
 
- Public Member Functions inherited from Page\PageReference
 __toString ()
 Returns an informative human readable unique representation of the page identity, for use as a cache key and for logging and debugging. More...
 
 getNamespace ()
 Returns the page's namespace number. More...
 
 isSamePageAs (PageReference $other)
 Checks whether the given PageReference refers to the same page as this PageReference. More...
 
- Public Member Functions inherited from MediaWiki\DAO\WikiAwareEntity
 assertWiki ( $wikiId)
 Throws if $wikiId is different from the return value of getWikiId(). More...
 
- Public Member Functions inherited from Page\ProperPageIdentity
 canExist ()
 Always true. More...
 
 getDBkey ()
 Get the page title in DB key form. More...
 
 getId ( $wikiId=self::LOCAL)
 Returns the page ID. More...
 
 getWikiId ()
 Get the ID of the wiki this page belongs to. More...
 

Detailed Description

Data record representing a page that currently exists as an editable page on a wiki.

Note
This is intended to become an alias for PageRecord, once PageRecord is guaranteed to be immutable and to represent existing pages.
Stability: stable
to type
Since
1.36

Definition at line 15 of file ExistingPageRecord.php.

Member Function Documentation

◆ exists()

Page\ExistingPageRecord::exists ( )

Always true.

Returns
bool

Implements Page\PageIdentity.


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