You are here

interface AuthcacheP13nFragmentInterface in Authenticated User Page Caching (Authcache) 7.2

Interface for personalization fragment renderers.

Hierarchy

Expanded class hierarchy of AuthcacheP13nFragmentInterface

All classes that implement AuthcacheP13nFragmentInterface

File

modules/authcache_p13n/includes/AuthcacheP13nFragmentInterface.inc, line 10
Defines authcache personalized fragment renderer.

View source
interface AuthcacheP13nFragmentInterface {

  /**
   * Render and return fragment.
   *
   * @param string $key
   *   The key for the fragment to be rendered.
   *
   * @param var $subject
   *   The result of the loader function for the given key. If no
   *   AuthcacheP13nFragmentLoader is associated with this fragment, subject is
   *   equal to key.
   *
   * @param array $context
   *   Additional run-time per-request context (key-value pairs).
   *
   * @return string
   *   Return a string representing the HTML fragment
   */
  public function render($key, $subject, $context);

}

Members

Namesort descending Modifiers Type Description Overrides
AuthcacheP13nFragmentInterface::render public function Render and return fragment. 14