Gets the template class associated with the given string.
string $name The name for which to calculate the template class name:
integer $index The index if it is an embedded template:
string The template class name
public function getTemplateClass($name, $index = null) {
return $this->templateClassPrefix . md5($this
->getLoader()
->getCacheKey($name)) . (null === $index ? '' : '_' . $index);
}