protected static function getTemplatePath($identifier, $extensionID = null)
    {
        if ($extensionID === true) {
            $extensionID = 'tao';
            common_Logger::d('Deprecated use of setView() using a boolean');
        }
        if($extensionID === null) {
            $extensionID = Context::getInstance()->getExtensionName();
        }
        $ext = common_ext_ExtensionsManager::singleton()->getExtensionById($extensionID);
        return $ext->getConstant('DIR_VIEWS').'templates'.DIRECTORY_SEPARATOR.$identifier;
    }
protected static function getTemplatePath($identifier, $extensionID = null)
    {
        if ($extensionID === true) {
            $extensionID = 'tao';
            common_Logger::d('Deprecated use of setView() using a boolean');
        }
        if($extensionID === null) {
            $extensionID = Context::getInstance()->getExtensionName();
        }
        $ext = common_ext_ExtensionsManager::singleton()->getExtensionById($extensionID);
        return $ext->getConstant('DIR_VIEWS').'templates'.DIRECTORY_SEPARATOR.$identifier;
    }
protected static function getTemplatePath ( $ identifier , $ extensionID = null ) { if ( $ extensionID === true ) { $ extensionID = 'tao' ; common_Logger :: d ( 'Deprecated use of setView() using a boolean' ) ; } if ( $ extensionID === null ) { $ extensionID = Context :: getInstance ( ) -> getExtensionName ( ) ; } $ ext = common_ext_ExtensionsManager :: singleton ( ) -> getExtensionById ( $ extensionID ) ; return $ ext -> getConstant ( 'DIR_VIEWS' ) . 'templates' . DIRECTORY_SEPARATOR . $ identifier ; }
Returns the absolute path to the specified template

@param string $identifier
@param string $extensionID
@return string
@throws common_exception_Error
@throws common_ext_ExtensionException
Returns the absolute path to the specified template