AuthcacheP13nHTMLContent.inc in Authenticated User Page Caching (Authcache) 7.2
Defines content encoder for HTML.
File
modules/authcache_p13n/includes/AuthcacheP13nHTMLContent.incView source
<?php
/**
* @file
* Defines content encoder for HTML.
*/
/**
* HTML content encoder.
*/
class AuthcacheP13nHTMLContent implements AuthcacheP13nContentEncoderInterface {
/**
* {@inheritdoc}
*/
public function contentType() {
return 'text/html; charset=UTF-8';
}
/**
* {@inheritdoc}
*/
public function encode($result) {
return (string) $result;
}
}
Classes
Name | Description |
---|---|
AuthcacheP13nHTMLContent | HTML content encoder. |