You are here

public function AuthcacheP13nFragmentAssemblyBuilder::__construct in Authenticated User Page Caching (Authcache) 7.2

Construct new instance.

Parameters

array $partials: List of key-value pairs where the key is a partial-id and the value a record with the following entries:

  • renderer: A AuthcacheP13nFragment instance
  • validator: (optional) an AuthcacheP13nFragmentValidator instance
  • loader: (optional) an AuthcacheP13nFragmentLoader instance
  • access: (optional) an AuthcacheP13nFragmentAccess instance

File

modules/authcache_p13n/includes/AuthcacheP13nFragmentAssemblyBuilder.inc, line 27
Defines AuthcacheP13nFragmentAssemblyBuilder.

Class

AuthcacheP13nFragmentAssemblyBuilder
Content builder for personalized fragment assemblies.

Code

public function __construct($partials) {
  $this->partials = $partials;
}