You are here

interface AuthcacheP13nFragmentLoaderInterface in Authenticated User Page Caching (Authcache) 7.2

Interface for personalization fragment object loaders.

Hierarchy

Expanded class hierarchy of AuthcacheP13nFragmentLoaderInterface

All classes that implement AuthcacheP13nFragmentLoaderInterface

File

modules/authcache_p13n/includes/AuthcacheP13nFragmentLoaderInterface.inc, line 10
Defines authcache personalized fragment object loader.

View source
interface AuthcacheP13nFragmentLoaderInterface {

  /**
   * Load the objects designated by the given list of keys.
   *
   * @throws AuthcacheP13nRequestNotFound
   *
   * @param array $keys
   *   A list of strings representing the keys of the fragment(s) to load.
   *
   * @param array $context
   *   Additional run-time per-request context (key-value pairs).
   *
   * @return array
   *   An associative array of key-value pairs where keys correspond to the
   *   input keys and the values to the objects loaded from the database.
   */
  public function load($keys, $context);

}

Members

Namesort descending Modifiers Type Description Overrides
AuthcacheP13nFragmentLoaderInterface::load public function Load the objects designated by the given list of keys. 9