class EntityCacheNodeController

  1. cis7 sites/all/modules/ulmus/entitycache/entitycache.module EntityCacheNodeController
  2. cle7 sites/all/modules/ulmus/entitycache/entitycache.module EntityCacheNodeController
  3. elmsmedia7 sites/all/modules/ulmus/entitycache/entitycache.module EntityCacheNodeController
  4. icor7 sites/all/modules/ulmus/entitycache/entitycache.module EntityCacheNodeController
  5. meedjum_blog7 sites/all/modules/ulmus/entitycache/entitycache.module EntityCacheNodeController
  6. mooc7 sites/all/modules/ulmus/entitycache/entitycache.module EntityCacheNodeController

Node entity controller with persistent cache.

Hierarchy

Expanded class hierarchy of EntityCacheNodeController

Members

Contains filters are case sensitive
Namesort descending Modifiers Type Description
DrupalDefaultEntityController::$cache protected property Whether this entity type should use the static cache.
DrupalDefaultEntityController::$entityCache protected property Static cache of entities.
DrupalDefaultEntityController::$entityInfo protected property Array of information about the entity.
DrupalDefaultEntityController::$entityType protected property Entity type for this controller instance.
DrupalDefaultEntityController::$hookLoadArguments protected property Additional arguments to pass to hook_TYPE_load().
DrupalDefaultEntityController::$idKey protected property Name of the entity's ID field in the entity database table.
DrupalDefaultEntityController::$revisionKey protected property Name of entity's revision database table field, if it supports revisions.
DrupalDefaultEntityController::$revisionTable protected property The table that stores revisions, if the entity supports revisions.
DrupalDefaultEntityController::cacheGet protected function Gets entities from the static cache.
DrupalDefaultEntityController::cacheSet protected function Stores entities in the static entity cache.
DrupalDefaultEntityController::__construct public function Constructor: sets basic variables.
EntityCacheNodeController::load public function Implements DrupalEntityControllerInterface::load(). Overrides DrupalDefaultEntityController::load
EntityCacheNodeController::resetCache public function Implements DrupalEntityControllerInterface::resetCache(). Overrides DrupalDefaultEntityController::resetCache
NodeController::attachLoad protected function Attaches data to entities upon loading. Overrides DrupalDefaultEntityController::attachLoad
NodeController::buildQuery protected function Builds the query to load the entity. Overrides DrupalDefaultEntityController::buildQuery

File

sites/all/modules/ulmus/entitycache/entitycache.module, line 198
Allows for caching of core entities.

View source
class EntityCacheNodeController extends NodeController {
  public function resetCache(array $ids = NULL) {
    EntityCacheControllerHelper::resetEntityCache($this, $ids);
    parent::resetCache($ids);
  }
  public function load($ids = array(), $conditions = array()) {
    return EntityCacheControllerHelper::entityCacheLoad($this, $ids, $conditions);
  }
}
1 string reference to 'EntityCacheNodeController'
entitycache_supported_core_entities in sites/all/modules/ulmus/entitycache/entitycache.module
Helper function to list all supported core entities.
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.