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

List of all members.

Public Member Functions

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

Detailed Description

Definition at line 366 of file ContentHandlerTest.php.


Constructor & Destructor Documentation

Definition at line 368 of file ContentHandlerTest.php.

References array().


Member Function Documentation

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

Reimplemented from ContentHandler.

Definition at line 402 of file ContentHandlerTest.php.

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

Reimplemented from ContentHandler.

Definition at line 380 of file ContentHandlerTest.php.

References Content\serialize().

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

Reimplemented from ContentHandler.

Definition at line 392 of file ContentHandlerTest.php.

References $blob.


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