MediaWiki REL1_39
|
Public Member Functions | |
checkAccess () | |
constructMetadata () | |
getPage () | |
getParamSettings () | |
getRevisionId () | |
getTargetRevision () | |
getTitleText () | |
hasContent () | |
isAccessible () | |
setCacheControl (ResponseInterface $response, int $expiry=null) | |
Sets the 'Cache-Control' header no more then provided $expiry. | |
Public Member Functions inherited from MediaWiki\Rest\Handler\PageContentHelper | |
__construct (Config $config, RevisionLookup $revisionLookup, TitleFormatter $titleFormatter, PageLookup $pageLookup) | |
getContent () | |
getETag () | |
Returns an ETag representing a page's source. | |
getLastModified () | |
getRole () | |
init (Authority $authority, array $parameters) | |
Additional Inherited Members | |
Protected Attributes inherited from MediaWiki\Rest\Handler\PageContentHelper | |
Authority null | $authority = null |
Config | $config |
PageLookup | $pageLookup |
ExistingPageRecord false null | $pageRecord = false |
string[] | $parameters = null |
RevisionLookup | $revisionLookup |
RevisionRecord false null | $targetRevision = false |
TitleFormatter | $titleFormatter |
Definition at line 18 of file RevisionContentHelper.php.
MediaWiki\Rest\Handler\RevisionContentHelper::checkAccess | ( | ) |
LocalizedHttpException | if the content is not accessible |
Reimplemented from MediaWiki\Rest\Handler\PageContentHelper.
Definition at line 168 of file RevisionContentHelper.php.
MediaWiki\Rest\Handler\RevisionContentHelper::constructMetadata | ( | ) |
Reimplemented from MediaWiki\Rest\Handler\PageContentHelper.
Definition at line 102 of file RevisionContentHelper.php.
MediaWiki\Rest\Handler\RevisionContentHelper::getPage | ( | ) |
Reimplemented from MediaWiki\Rest\Handler\PageContentHelper.
Definition at line 40 of file RevisionContentHelper.php.
MediaWiki\Rest\Handler\RevisionContentHelper::getParamSettings | ( | ) |
Reimplemented from MediaWiki\Rest\Handler\PageContentHelper.
Definition at line 155 of file RevisionContentHelper.php.
MediaWiki\Rest\Handler\RevisionContentHelper::getRevisionId | ( | ) |
Definition at line 23 of file RevisionContentHelper.php.
MediaWiki\Rest\Handler\RevisionContentHelper::getTargetRevision | ( | ) |
Reimplemented from MediaWiki\Rest\Handler\PageContentHelper.
Definition at line 48 of file RevisionContentHelper.php.
MediaWiki\Rest\Handler\RevisionContentHelper::getTitleText | ( | ) |
Reimplemented from MediaWiki\Rest\Handler\PageContentHelper.
Definition at line 30 of file RevisionContentHelper.php.
MediaWiki\Rest\Handler\RevisionContentHelper::hasContent | ( | ) |
Reimplemented from MediaWiki\Rest\Handler\PageContentHelper.
Definition at line 84 of file RevisionContentHelper.php.
MediaWiki\Rest\Handler\RevisionContentHelper::isAccessible | ( | ) |
Reimplemented from MediaWiki\Rest\Handler\PageContentHelper.
Definition at line 63 of file RevisionContentHelper.php.
MediaWiki\Rest\Handler\RevisionContentHelper::setCacheControl | ( | ResponseInterface | $response, |
int | $expiry = null ) |
Sets the 'Cache-Control' header no more then provided $expiry.
ResponseInterface | $response | |
int | null | $expiry |
Reimplemented from MediaWiki\Rest\Handler\PageContentHelper.
Definition at line 88 of file RevisionContentHelper.php.