protected function solveTemplatePath($template) {
		foreach(array_reverse($this->templatePathSolvers) as $s) {
			if(($r = $s($this, $template)) && file_exists($r))
				return $r;
		}
	}
protected function solveTemplatePath($template) {
		foreach(array_reverse($this->templatePathSolvers) as $s) {
			if(($r = $s($this, $template)) && file_exists($r))
				return $r;
		}
	}
protected function solveTemplatePath ( $ template ) { foreach ( array_reverse ( $ this -> templatePathSolvers ) as $ s ) { if ( ( $ r = $ s ( $ this , $ template ) ) && file_exists ( $ r ) ) return $ r ; } }
Solve the path to a template.
@param  string $template template name
@return string
Solve the path to a template .