You are here

interface AuthcacheP13nContentEncoderInterface in Authenticated User Page Caching (Authcache) 7.2

Interface for content encoders.

Hierarchy

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

Namesort descending Modifiers Type Description Overrides
AuthcacheP13nContentEncoderInterface::contentType public function Return an appropriate internet media type string. 3
AuthcacheP13nContentEncoderInterface::encode public function Serialize a result produced by AuthcacheP13nContentBuilder::build(). 3