System:Template:getTemplateDir

From Aspen Documentation

Returns the current interface template directory.

Since 1.0

Arguments

string getTemplateDir ()

Returns

Returns a server file path as a string.

Examples

This is an example of this function being used to add a template for display.

$this->APP->template->addView($this->APP->template->getTemplateDir().DS . 'header.tpl.php');