interface AuthcacheP13nContentEncoderInterface in Authenticated User Page Caching (Authcache) 7.2
Interface for content encoders.
Hierarchy
- interface \AuthcacheP13nContentEncoderInterface
Expanded class hierarchy of AuthcacheP13nContentEncoderInterface
All classes that implement AuthcacheP13nContentEncoderInterface
File
- modules/
authcache_p13n/ includes/ AuthcacheP13nContentEncoderInterface.inc, line 11 - Defines content encoder interface.
View source
interface AuthcacheP13nContentEncoderInterface {
/**
* Return an appropriate internet media type string.
*
* Return the internet media type string identifying the output produced by
* the encoding function.
*/
public function contentType();
/**
* Serialize a result produced by AuthcacheP13nContentBuilder::build().
*/
public function encode($result);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AuthcacheP13nContentEncoderInterface:: |
public | function | Return an appropriate internet media type string. | 3 |
AuthcacheP13nContentEncoderInterface:: |
public | function | Serialize a result produced by AuthcacheP13nContentBuilder::build(). | 3 |