You are here

public function AuthcacheP13nFragmentInterface::render in Authenticated User Page Caching (Authcache) 7.2

Render and return fragment.

Parameters

string $key: The key for the fragment to be rendered.

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.

array $context: Additional run-time per-request context (key-value pairs).

Return value

string Return a string representing the HTML fragment

14 methods override AuthcacheP13nFragmentInterface::render()
AuthcacheBlockFragment::render in modules/authcache_block/includes/AuthcacheBlockFragment.inc
Render and return fragment.
AuthcacheFieldFragment::render in modules/authcache_field/includes/AuthcacheFieldFragment.inc
Render fields.
AuthcacheFlagFlagFragment::render in modules/authcache_flag/includes/AuthcacheFlagFlagFragment.inc
Render and return fragment.
AuthcacheFormTokenFragment::render in modules/authcache_form/includes/AuthcacheFormTokenFragment.inc
Render hidden field for CSRF token.
AuthcacheMenuItemTitleFragment::render in modules/authcache_menu/includes/AuthcacheMenuItemTitleFragment.inc
Return menu item title.

... See full list

File

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

Class

AuthcacheP13nFragmentInterface
Interface for personalization fragment renderers.

Code

public function render($key, $subject, $context);