MediaWiki
REL1_22
|
Public Member Functions | |
__construct ($dataModel) | |
makeEmptyContent () | |
Creates an empty Content object of the type supported by this ContentHandler. | |
serializeContent (Content $content, $format=null) | |
Serializes Content object of the type supported by this ContentHandler. | |
unserializeContent ($blob, $format=null) | |
Unserializes a Content object of the type supported by this ContentHandler. |
Definition at line 311 of file ContentHandlerTest.php.
DummyContentHandlerForTesting::__construct | ( | $ | dataModel | ) |
Definition at line 313 of file ContentHandlerTest.php.
References array().
Creates an empty Content object of the type supported by this ContentHandler.
Reimplemented from ContentHandler.
Definition at line 345 of file ContentHandlerTest.php.
DummyContentHandlerForTesting::serializeContent | ( | Content $ | content, |
$ | format = null |
||
) |
Serializes Content object of the type supported by this ContentHandler.
Content | $content | the Content object to serialize |
null | $format | the desired serialization format |
Reimplemented from ContentHandler.
Definition at line 324 of file ContentHandlerTest.php.
References Content\serialize().
DummyContentHandlerForTesting::unserializeContent | ( | $ | blob, |
$ | format = null |
||
) |
Unserializes a Content object of the type supported by this ContentHandler.
$blob | String serialized form of the content | |
null | $format | the format used for serialization |
Reimplemented from ContentHandler.
Definition at line 335 of file ContentHandlerTest.php.
References $blob.