/** * We use a checksum of the template source as the template identifier * * @param string $actionName * @return string */ protected function getTemplateIdentifier($actionName = NULL) { $hasMethodOnParent = TRUE === method_exists(get_parent_class($this), __FUNCTION__); $templateFileExists = TRUE === file_exists($this->templatePathAndFilename); return TRUE === $hasMethodOnParent && TRUE === $templateFileExists ? parent::getTemplateIdentifier($actionName) : 'viewhelpertest_' . sha1($this->templateSource); }