Manual:PageStoreRecord.php
Appearance
| MediaWiki file: PageStoreRecord.php | |
|---|---|
| Location: | includes/page/ (includes/Page/ in 1.46 or later) |
| Source code: | master • 1.46.0 • 1.45.4 • 1.43.9 |
| Classes: | MediaWiki\Page\PageStoreRecord |
Immutable data record (MW 1.36+) representing an editable page on a wiki. Corresponds to a row in the page table. It extends PageIdentityValue and implements ExistingPageRecord
Public methods
[edit]Public methods not for internal use only include:
- isNew()
- isRedirect()
- getLatest() - get the ID of the latest page revision.
- getTouched()
- getLanguage()
See also
[edit]- WikiPage::toPageRecord() - get the page represented by this WikiPage as a PageStoreRecord.