/** * Build a relative URI: $params must be referred to the template root * * If the URI does not point to a readable file, the fallback URI is used. */ protected function tagTemplateUri() { $pieces = func_get_args(); return file_exists(TIP::buildTemplatePath($pieces)) ? TIP::buildTemplateUri($pieces) : TIP::buildFallbackUri($pieces); }