Jamroom Logo Jamroom 5 Core
is now Open Source!
Follow Jamroom on Twitter!


cleanHtml Function Index htmlShowTemplate
htmlGetTemplate

The htmlGetTemplate function is used for returning information about a given template that can then be used by the htmlShowTemplate() function

  • return: Returns a 3 element array containing template, tpl_dir and theme
array htmlGetTemplate (string $tpl_name, array $_args, [string $tpl_type = false], [string $default_tpl = false])
  • string $tpl_name: Template name to search for in post (i.e. "error_template", "template")
  • array $_args: Array containing $_post or args
  • string $tpl_type: DEPRECATED for JR 2.x mode, the directory within jamroom/templates the template should be located in
  • string $default_tpl: DEPRECATED if a htmlGetTemplate cannot find the template within $_args, what is the default template used
 Comments
You must be logged in to post a comment
Solutions Products Support Community Company
Social Media Platform
Social Networking Software
Musician Website Manager
Community Builder
Jamroom 5
Jamroom 5 Modules
Jamroom Marketplace
Support Forum
Documentation
Support Center
Contact Support
Community Forum
Member Sites
Developers
About Us
Contact Us
Privacy Policy
©2003 - 2024 The Jamroom Network