MediaWiki REL1_37
|
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 17 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 164 of file RevisionContentHelper.php.
MediaWiki\Rest\Handler\RevisionContentHelper::constructMetadata | ( | ) |
Reimplemented from MediaWiki\Rest\Handler\PageContentHelper.
Definition at line 101 of file RevisionContentHelper.php.
MediaWiki\Rest\Handler\RevisionContentHelper::getPage | ( | ) |
Reimplemented from MediaWiki\Rest\Handler\PageContentHelper.
Definition at line 39 of file RevisionContentHelper.php.
MediaWiki\Rest\Handler\RevisionContentHelper::getParamSettings | ( | ) |
Reimplemented from MediaWiki\Rest\Handler\PageContentHelper.
Definition at line 151 of file RevisionContentHelper.php.
MediaWiki\Rest\Handler\RevisionContentHelper::getRevisionId | ( | ) |
Definition at line 22 of file RevisionContentHelper.php.
MediaWiki\Rest\Handler\RevisionContentHelper::getTargetRevision | ( | ) |
Reimplemented from MediaWiki\Rest\Handler\PageContentHelper.
Definition at line 47 of file RevisionContentHelper.php.
MediaWiki\Rest\Handler\RevisionContentHelper::getTitleText | ( | ) |
Reimplemented from MediaWiki\Rest\Handler\PageContentHelper.
Definition at line 29 of file RevisionContentHelper.php.
MediaWiki\Rest\Handler\RevisionContentHelper::hasContent | ( | ) |
Reimplemented from MediaWiki\Rest\Handler\PageContentHelper.
Definition at line 83 of file RevisionContentHelper.php.
MediaWiki\Rest\Handler\RevisionContentHelper::isAccessible | ( | ) |
Reimplemented from MediaWiki\Rest\Handler\PageContentHelper.
Definition at line 62 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 87 of file RevisionContentHelper.php.