/** * Locate a template * * @link resolveTemplatePath() * * @param string $inTemplatePath * @param array $inParamsArray * * @return string */ protected function locateTemplate($inTemplatePath, &$inParamsArray) { return Container::resolveTemplatePath($this->getPage(), get_class($this), $inTemplatePath, $inParamsArray); }
/** * Resolve a template's path * * @param string $inPath * * @return string Full template path */ public function resolveTemplatePath($inPath) { $fullPath = null; $a = array(); if ($this->component !== null) { $fullPath = $this->component->resolveTemplatePath($this->page, get_class($this->component), $inPath, $a, false); } else { $fullPath = $this->page->resolveTemplatePath($this->page, get_class($this->page), $inPath, $a, false); } return $fullPath; }