示例#1
0
 /**
  * @static
  * @param string - $_template_name the desired template name that should be loaded
  * 		  without file name extension and path information.
  *
  * The template is not immediately loaded, this functionm merely remembers the template
  * name. The template must be loaded *after* the full context has been setup and this
  * happens in Display().
  */
 public static function loadTemplate($_template_name)
 {
     self::$_template_names[] = $_template_name . '.tpl';
     if ($_template_name === 'boardindex') {
         self::$_is_BoardIndex = true;
     }
     self::$_is_Active = true;
     // set us active, so we can rule in obExit()
 }