SchemaCache::__construct
public function SchemaCache::__construct
public SchemaCache::__construct()
Constructs a SchemaCache object.
Overrides DrupalCacheArray::__construct
File
- includes/bootstrap.inc, line 3268
- Functions that need to be loaded on every Drupal request.
Class
- SchemaCache
- Extends DrupalCacheArray to allow for dynamic building of the schema cache.
Code
public function __construct() { // Cache by request method. parent::__construct('schema:runtime:' . ($_SERVER['REQUEST_METHOD'] == 'GET'), 'cache'); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!bootstrap.inc/function/SchemaCache::__construct/7.x