MediaWiki
1.34.0
|
Class to construct MediaHandler objects. More...
Public Member Functions | |
__construct (array $registry) | |
getHandler ( $type) | |
Protected Member Functions | |
getHandlerClass ( $type) | |
Private Attributes | |
MediaHandler[] | $handlers |
Instance cache of MediaHandler objects by mimetype. More... | |
array | $registry |
Static Private Attributes | |
static array | $coreHandlers |
Default, MediaWiki core media handlers. More... | |
Class to construct MediaHandler objects.
Definition at line 29 of file MediaHandlerFactory.php.
MediaHandlerFactory::__construct | ( | array | $registry | ) |
Definition at line 64 of file MediaHandlerFactory.php.
References $coreHandlers, and $registry.
MediaHandlerFactory::getHandler | ( | $type | ) |
string | $type | mimetype |
Definition at line 76 of file MediaHandlerFactory.php.
References $type, getHandlerClass(), and wfDebug().
|
protected |
Definition at line 68 of file MediaHandlerFactory.php.
References $type.
Referenced by getHandler().
|
staticprivate |
Default, MediaWiki core media handlers.
Definition at line 36 of file MediaHandlerFactory.php.
Referenced by __construct().
|
private |
Instance cache of MediaHandler objects by mimetype.
Definition at line 62 of file MediaHandlerFactory.php.
|
private |
Definition at line 55 of file MediaHandlerFactory.php.
Referenced by __construct().