Magento Certified Developer GuideCategory: 3.2 BlocksIn which way does a template block store information about its template file? Does it store an absolute or a relative path to the template?
Manish Prakash Staff asked 5 years ago

The template file information is stored only as relative path. The function for this are “setTemplate()” and “getTemplate()”. There is a function “getTemplateFile()”, which converts the relative path to absolute path using design fallback system. All these functions are located in “Mage_Core_Block_Template” class.