MediaWiki REL1_40
TrivialMediaHandlerState Class Reference

Trivial implementation of MediaHandlerState. More...

Inherits MediaHandlerState.

Collaboration diagram for TrivialMediaHandlerState:

Public Member Functions

 getHandlerState (string $key)
 Get a value, or null if it does not exist.
 
 setHandlerState (string $key, $value)
 Set a value.
 

Detailed Description

Trivial implementation of MediaHandlerState.

Since
1.37

Definition at line 8 of file TrivialMediaHandlerState.php.

Member Function Documentation

◆ getHandlerState()

TrivialMediaHandlerState::getHandlerState ( string $key)

Get a value, or null if it does not exist.

Parameters
string$key
Returns
mixed|null

Implements MediaHandlerState.

Definition at line 12 of file TrivialMediaHandlerState.php.

◆ setHandlerState()

TrivialMediaHandlerState::setHandlerState ( string $key,
$value )

Set a value.

Parameters
string$key
mixed$value

Implements MediaHandlerState.

Definition at line 16 of file TrivialMediaHandlerState.php.


The documentation for this class was generated from the following file: