entitycache.comment.inc in Entity cache 7
Comment entity controller with persistent cache.
File
includes/entitycache.comment.incView source
<?php
/**
* @file
* Comment entity controller with persistent cache.
*/
/**
* Comment entity controller class with persistent cache.
*/
class EntityCacheCommentController extends CommentController implements EntityCacheEntityControllerInterface {
/**
* {@inheritdoc}
*/
public function resetCache(array $ids = NULL) {
EntityCacheControllerHelper::resetEntityCache($this, $ids);
$this
->resetStaticCache($ids);
}
/**
* {@inheritdoc}
*/
public function resetStaticCache(array $ids = NULL) {
parent::resetCache($ids);
}
/**
* {@inheritdoc}
*/
public function load($ids = array(), $conditions = array()) {
return EntityCacheControllerHelper::entityCacheLoad($this, $ids, $conditions);
}
}
Classes
Name![]() |
Description |
---|---|
EntityCacheCommentController | Comment entity controller class with persistent cache. |