MediaWiki
1.28.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... | |
static array 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.
MediaHandlerFactory::getHandler | ( | $type | ) |
string | $type | mimetype |
Definition at line 80 of file MediaHandlerFactory.php.
References $handler, $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.
|
private |
Instance cache of MediaHandler objects by mimetype.
Definition at line 62 of file MediaHandlerFactory.php.
Definition at line 38 of file MediaHandlerFactory.php.