MediaWiki
master
|
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 283 of file ContentHandlerTest.php.
DummyContentHandlerForTesting::__construct | ( | $ | dataModel | ) |
Definition at line 285 of file ContentHandlerTest.php.
References array().
Creates an empty Content object of the type supported by this ContentHandler.
Reimplemented from ContentHandler.
Definition at line 316 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 296 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 307 of file ContentHandlerTest.php.
References $blob.