/sources/caches2.php

Description
Functions
put_into_cache (line 33)

Put a result into the cache.

void put_into_cache (ID_TEXT $codename, integer $ttl, LONG_TEXT $cache_identifier, mixed $cache, [?array $_langs_required = NULL], [?array $_javascripts_required = NULL], [?array $_csss_required = NULL], [boolean $tempcode = false])
  • ID_TEXT $codename: The codename to check for cacheing
  • integer $ttl: The TTL of what is being cached
  • LONG_TEXT $cache_identifier: The requisite situational information (a serialized map) [-> further restraints when reading]
  • mixed $cache: The result we are cacheing
  • ?array $_langs_required: A list of the language files that need loading to use tempcode embedded in the cache (NULL: none required)
  • ?array $_javascripts_required: A list of the javascript files that need loading to use tempcode embedded in the cache (NULL: none required)
  • ?array $_csss_required: A list of the css files that need loading to use tempcode embedded in the cache (NULL: none required)
  • boolean $tempcode: Whether we are cacheing Tempcode (needs special care)

Documentation generated on Sun, 02 Jan 2011 23:09:36 +0000 by phpDocumentor 1.4.3