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

Public Member Functions

 __construct ($dataModel)
 
 makeEmptyContent ()
 Creates an empty Content object of the type supported by this ContentHandler. More...
 
 serializeContent (Content $content, $format=null)
 
 supportsDirectApiEditing ()
 
 unserializeContent ($blob, $format=null)
 
- Public Member Functions inherited from DummyContentHandlerForTesting
 __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 DummyNonTextContentHandler.php.

Constructor & Destructor Documentation

DummyNonTextContentHandler::__construct (   $dataModel)

Definition at line 5 of file DummyNonTextContentHandler.php.

Member Function Documentation

DummyNonTextContentHandler::makeEmptyContent ( )

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

Definition at line 38 of file DummyNonTextContentHandler.php.

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

Definition at line 17 of file DummyNonTextContentHandler.php.

References Content\serialize().

DummyNonTextContentHandler::supportsDirectApiEditing ( )

Definition at line 42 of file DummyNonTextContentHandler.php.

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

Definition at line 29 of file DummyNonTextContentHandler.php.

References $blob, and unserialize().


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