public function GetGenericTemplate($name, $subdir="")
    {
        if($subdir)
            $subdir = trim($subdir, "\\/") . "/";
        
        return $this->templates_path
            . $subdir
            . "{$name}.php"
        ;
    }
public function GetGenericTemplate($name, $subdir="")
    {
        if($subdir)
            $subdir = trim($subdir, "\\/") . "/";
        
        return $this->templates_path
            . $subdir
            . "{$name}.php"
        ;
    }
public function GetGenericTemplate ( $ name , $ subdir = "" ) { if ( $ subdir ) $ subdir = trim ( $ subdir , "\\/" ) . "/" ; return $ this -> templates_path . $ subdir . "{$name}.php" ; }
Get a php template file for a given file name.
@param string $name Filename of source file, eg: php_extension.h, config.m4
@param string $subdir Relative path to the templates_path where the file resides.
@return string Path to template file.
Get a php template file for a given file name .