MediaWiki  REL1_23
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 311 of file ContentHandlerTest.php.


Constructor & Destructor Documentation

Definition at line 313 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 347 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 325 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 337 of file ContentHandlerTest.php.

References $blob.


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