Movatterモバイル変換


[0]ホーム

URL:


MediaWiki master
IContentHandlerFactory.php
Go to the documentation of this file.
1<?php
2
3namespaceMediaWiki\Content;
4
5useMediaWiki\Exception\MWUnknownContentModelException;
6
10interfaceIContentHandlerFactory {
11
20publicfunctiongetContentHandler(string $modelID ):ContentHandler;
21
29publicfunctiongetContentModels(): array;
30
36publicfunctiongetAllContentFormats(): array;
37
45publicfunctionisDefinedModel(string $modelID ): bool;
46}
MediaWiki\Content\ContentHandler
Base class for content handling.
DefinitionContentHandler.php:76
MediaWiki\Exception\MWUnknownContentModelException
Exception thrown when an unregistered content model is requested.
DefinitionMWUnknownContentModelException.php:16
MediaWiki\Content\IContentHandlerFactory
DefinitionIContentHandlerFactory.php:10
MediaWiki\Content\IContentHandlerFactory\isDefinedModel
isDefinedModel(string $modelID)
Returns true if $modelID is a defined content model for which getContentHandler() can be expected to ...
MediaWiki\Content\IContentHandlerFactory\getContentHandler
getContentHandler(string $modelID)
Returns a ContentHandler instance for the given $modelID.
MediaWiki\Content\IContentHandlerFactory\getContentModels
getContentModels()
Returns a list of defined content models.
MediaWiki\Content\IContentHandlerFactory\getAllContentFormats
getAllContentFormats()
Returns a list of all serialization formats supported for any of the defined content models.
MediaWiki\Content
DefinitionAbstractContent.php:8

[8]ページ先頭

©2009-2025 Movatter.jp