[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/includes/ -> cache-install.inc (source)

   1  <?php
   2  
   3  /**
   4   * A stub cache implementation to be used during the installation
   5   * process when database access is not yet available. Because Drupal's
   6   * caching system never requires that cached data be present, these
   7   * stub functions can short-circuit the process and sidestep the
   8   * need for any persistent storage. Obviously, using this cache
   9   * implementation during normal operations would have a negative impact
  10   * on performance.
  11   */
  12  
  13  function cache_get($key, $table = 'cache') {
  14    return FALSE;
  15  }
  16  
  17  function cache_set($cid, $data, $table = 'cache', $expire = CACHE_PERMANENT, $headers = NULL) {
  18    return;
  19  }
  20  
  21  function cache_clear_all($cid = NULL, $table = NULL, $wildcard = FALSE) {
  22    return;
  23  }


Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7