MediaWiki  master
DummyContentHandlerForTesting Class Reference
Inheritance diagram for DummyContentHandlerForTesting:
Collaboration diagram for DummyContentHandlerForTesting:

Public Member Functions

 __construct ($dataModel)
 
 makeEmptyContent ()
 Creates an empty Content object of the type supported by this ContentHandler. More...
 
 serializeContent (Content $content, $format=null)
 
 unserializeContent ($blob, $format=null)
 

Detailed Description

Definition at line 3 of file DummyContentHandlerForTesting.php.

Constructor & Destructor Documentation

DummyContentHandlerForTesting::__construct (   $dataModel)

Definition at line 5 of file DummyContentHandlerForTesting.php.

Member Function Documentation

DummyContentHandlerForTesting::makeEmptyContent ( )

Creates an empty Content object of the type supported by this ContentHandler.

Definition at line 39 of file DummyContentHandlerForTesting.php.

DummyContentHandlerForTesting::serializeContent ( Content  $content,
  $format = null 
)
See Also
ContentHandler::serializeContent
Parameters
Content$content
string$format
Returns
string

Definition at line 17 of file DummyContentHandlerForTesting.php.

References Content\serialize().

DummyContentHandlerForTesting::unserializeContent (   $blob,
  $format = null 
)
See Also
ContentHandler::unserializeContent
Parameters
string$blob
string$formatUnused.
Returns
Content

Definition at line 29 of file DummyContentHandlerForTesting.php.

References $blob, and unserialize().


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