Mensaje de error

  • Warning: count(): Parameter must be an array or an object that implements Countable en _api_make_match_member_link() (línea 1230 de /home/u295177857/domains/app01.inkastattoonewjersey.com/public_html/profiles/drupalapi/modules/contrib/api/api.formatting.inc).
  • Warning: count(): Parameter must be an array or an object that implements Countable en _api_make_match_member_link() (línea 1230 de /home/u295177857/domains/app01.inkastattoonewjersey.com/public_html/profiles/drupalapi/modules/contrib/api/api.formatting.inc).
  • Warning: count(): Parameter must be an array or an object that implements Countable en _api_make_match_member_link() (línea 1230 de /home/u295177857/domains/app01.inkastattoonewjersey.com/public_html/profiles/drupalapi/modules/contrib/api/api.formatting.inc).
  • Warning: count(): Parameter must be an array or an object that implements Countable en _api_make_match_member_link() (línea 1230 de /home/u295177857/domains/app01.inkastattoonewjersey.com/public_html/profiles/drupalapi/modules/contrib/api/api.formatting.inc).

class SchemaCache

Extends DrupalCacheArray to allow for dynamic building of the schema cache.

Hierarchy

Expanded class hierarchy of SchemaCache

Related topics

Archivo

drupal-7.x/includes/bootstrap.inc, line 2963
Functions that need to be loaded on every Drupal request.

View source
class SchemaCache extends DrupalCacheArray {

  /**
   * Constructs a SchemaCache object.
   */
  public function __construct() {
    // Cache by request method.
    parent::__construct('schema:runtime:' . ($_SERVER['REQUEST_METHOD'] == 'GET'), 'cache');
  }

  /**
   * Overrides DrupalCacheArray::resolveCacheMiss().
   */
  protected function resolveCacheMiss($offset) {
    $complete_schema = drupal_get_complete_schema();
    $value = isset($complete_schema[$offset]) ? $complete_schema[$offset] : NULL;
    $this->storage[$offset] = $value;
    $this->persist($offset);
    return $value;
  }
}

Members

Nombreorden descendente Modifiers Tipo Descripción Overrides
DrupalCacheArray::$bin protected property A bin to pass to cache_set() and cache_get().
DrupalCacheArray::$cid protected property A cid to pass to cache_set() and cache_get().
DrupalCacheArray::$keysToPersist protected property An array of keys to add to the cache at the end of the request.
DrupalCacheArray::$storage protected property Storage for the data itself.
DrupalCacheArray::offsetExists public function Implements ArrayAccess::offsetExists(). 1
DrupalCacheArray::offsetGet public function Implements ArrayAccess::offsetGet(). 1
DrupalCacheArray::offsetSet public function Implements ArrayAccess::offsetSet().
DrupalCacheArray::offsetUnset public function Implements ArrayAccess::offsetUnset().
DrupalCacheArray::persist protected function Flags an offset value to be written to the persistent cache.
DrupalCacheArray::set protected function Writes a value to the persistent cache immediately. 1
DrupalCacheArray::__destruct public function Destructs the DrupalCacheArray object.
SchemaCache::resolveCacheMiss protected function Overrides DrupalCacheArray::resolveCacheMiss(). Overrides DrupalCacheArray::resolveCacheMiss
SchemaCache::__construct public function Constructs a SchemaCache object. Overrides DrupalCacheArray::__construct