Ham::_get_template_path PHP Method

_get_template_path() protected method

protected _get_template_path ( $name )
    protected function _get_template_path($name)
    {
        $_k = "template_path:{$name}";
        $path = $this->cache->get($_k);
        if ($path) {
            return $path;
        }
        foreach ($this->template_paths as $dir) {
            $path = $dir . $name;
            if (file_exists($path)) {
                $this->cache->set($_k, $path);
                return $path;
            }
        }
        return False;
    }