Template() public method

A template is an HTML file with Campsite parser tags inside.
public Template ( $p_templateIdOrName = null )
 /**
  * Constructor
  *
  * Please do not call directly.  Use Template::construct_template().
  *
  * @param string $template_id the template ID
  *
  */
 function PHP_Template($template_id)
 {
     //FIXME: find a way to test that this is ONLY ever called
     //       from parent's construct_template() method (I doubt it
     //       is worth the trouble to parse the current stack trace)
     //        if (???)
     //            trigger_error('Please do not use default PHP_Template() constructor.  Instead, use Template::construct_template().', E_USER_ERROR);
     parent::Template($template_id);
 }
 /**
  * Constructor
  */
 function Template_WP()
 {
     // set to default falbum template
     parent::Template('default');
     // overwrite with wordpress one if available
     $wp_dir = get_template_directory() . "/falbum/";
     if (file_exists($wp_dir)) {
         $this->templatePath = $wp_dir;
     }
 }
 /**
  * Constructor
  *
  * Please do not call directly.  Use Template::construct_template().
  *
  * @param string $template_id the template ID
  *
  */
 function Smarty_Template($template_id)
 {
     //FIXME: find a way to test that this is ONLY ever called
     //       from parent's construct_template() method (I doubt it
     //       is worth the trouble to parse the current stack trace)
     //        if (???)
     //            trigger_error('Please do not use default Smarty_Template() constructor.  Instead, use Template::construct_template().', E_USER_ERROR);
     parent::Template($template_id);
     // load smarty settings
     //
     // instantiate and set up Smarty object
     //
     $smarty_path = Template::get_template_config($this->template_set_id, 'smarty_path');
     require $smarty_path;
     $this->smarty_template = new Smarty();
     $this->smarty_template->compile_dir = Template::get_template_config($this->template_set_id, 'smarty_compile_dir');
     $this->smarty_template->cache_dir = Template::get_template_config($this->template_set_id, 'smarty_cache_dir');
     $this->smarty_template->config_dir = Template::get_template_config($this->template_set_id, 'smarty_config_dir');
     // note that we do not use Smarty's template_dir
     // because SquirrelMail has its own method of
     // determining template file paths
     //
     //$this->smarty_template->template_dir =
 }
 function Skinlet($template)
 {
     if (!strpos($template, ".")) {
         Template::Template("skins/{$GLOBALS['current_skin']}/dtml/{$template}.html");
     } else {
         Template::Template("skins/{$GLOBALS['current_skin']}/dtml/{$template}");
     }
 }
 function Skin($skin)
 {
     Template::Template("skins/{$GLOBALS['config']['skin']}/dtml/frame-public.html");
     $this->setContent("skin", $GLOBALS['config']['skin']);
     $this->setContent("base", $GLOBALS['config']['base']);
 }