AbstractContentModule.php
23 * If output caching is activated, the cache id of the template is calculated from the cacheId of the parent template
24 * and the name of the module and an optional "cacheId" plugin parameter that is only necessary, if the same module is used
50 $this->cacheId = $isCaching ? $parentTemplate->cache_id.'-'.$this->name.(isset($params['cacheId']) ? $params['cacheId'] : '') : null;
56 $parentParams = $cache->exists('module-cache', $parentTemplate->cache_id) ? $cache->get('module-cache', $parentTemplate->cache_id)['params'] : [];
57 $this->params = $cache->exists('module-cache', $this->cacheId) ? $cache->get('module-cache', $this->cacheId)['params'] : array_merge($parentParams, $params);
86 public function render() {
AbstractContentModule is the base class for content module implementations.
Definition: AbstractContentModule.php:27
IllegalArgumentException signals an exception in method arguments.
Definition: IllegalArgumentException.php:18
getTemplateFile()
Get the template file name.
initialize(\Smarty_Internal_Template $parentTemplate, array $params)
Definition: AbstractContentModule.php:38
View defines the interface for all view implementations.
Definition: View.php:18
LogManager is used to retrieve Logger instances.
Definition: LogManager.php:20
ObjectFactory implements the service locator pattern by wrapping a Factory instance and providing sta...
Definition: ObjectFactory.php:24