예제 #1
0
	/**
	 * Add a cache tag
	 *
	 * @param mixed $val The tag to add
	 */
	protected function addCacheTag($val) {
		$this->cfg->setInArrayA('cacheTags', array($val));
		if ($this->tpl) {
			$this->tpl->getCfg()->setInarray('cache', 'tags', $this->cfg->cacheTags);
		}
	}