Mage_Sales_Model_Email_Template Class Reference

Inheritance diagram for Mage_Sales_Model_Email_Template:

Mage_Core_Model_Email_Template Varien_Object

List of all members.

Public Member Functions

 getInclude ($template, array $variables)


Detailed Description

Definition at line 28 of file Template.php.


Member Function Documentation

getInclude ( template,
array variables 
)

Get template code for include directive

Parameters:
string $template
array $variables
Returns:
string

Reimplemented from Mage_Core_Model_Email_Template.

Definition at line 30 of file Template.php.

00031     {
00032         $filename = Mage::getDesign()->getTemplateFilename($template);
00033         if (!$filename) {
00034             return '';
00035         }
00036         extract($variables);
00037         ob_start();
00038         include $filename;
00039         return ob_get_clean();
00040     }


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:24:40 2009 for Magento by  doxygen 1.5.8