Open Preprint Systems  3.3.0
TemplateManager Class Reference
Inheritance diagram for TemplateManager:
PKPTemplateManager

Public Member Functions

 initialize ($request)
 
- Public Member Functions inherited from PKPTemplateManager
 __construct ()
 
 addHeader ($name, $header, $args=[])
 
 addJavaScript ($name, $script, $args=[])
 
 addStyleSheet ($name, $style, $args=[])
 
 cacheLess ($path, $styles)
 
 clearCssCache ()
 
 clearTemplateCache ()
 
 clearThemeTemplateCache ($hookName, $args)
 
 compileLess ($name, $lessFile, $args=[])
 
 display ($template=null, $cache_id=null, $compile_id=null, $parent=null)
 
 displaySidebar ($hookName, $args)
 
 fetch ($template=null, $cache_id=null, $compile_id=null, $parent=null)
 
 fetchAjax ($id, $url, $element='div')
 
 fetchJson ($template, $status=true)
 
 flush ()
 
 get_template_vars ($varname=null)
 
 getCachedLessFilePath ($name)
 
 getCompileId ($resourceName)
 
 getFBV ()
 
 getResourcesByContext ($resources, $context)
 
 getState ($key)
 
 loadHtmlGalleyStyles ($htmlContent, $embeddedFiles)
 
 register_function ($name, $impl, $cacheable=true, $cache_attrs=null)
 
 registerJSLibrary ()
 
 registerJSLibraryData ()
 
 setCacheability ($cacheability=CACHEABILITY_PUBLIC)
 
 setConstants ($names)
 
 setLocaleKeys ($keys)
 
 setState ($data)
 
 setupBackendPage ()
 
 smartyCallHook ($params, $smarty)
 
 smartyCompare ($a, $b, $strict=false, $invert=false)
 
 smartyConcat ()
 
 smartyCSRF ($params, $smarty)
 
 smartyEscape ($string, $esc_type='html', $char_set='ISO-8859-1')
 
 smartyExplode ($string, $separator)
 
 smartyFlush ($params, $smarty)
 
 smartyHelp ($params, $smarty)
 
 smartyHtmlOptionsTranslate ($params, $smarty)
 
 smartyIterate ($params, $content, $smarty, &$repeat)
 
 smartyLoadHeader ($params, $smarty)
 
 smartyLoadNavigationMenuArea ($params, $smarty)
 
 smartyLoadScript ($params, $smarty)
 
 smartyLoadStylesheet ($params, $smarty)
 
 smartyLoadUrlInDiv ($params, $smarty)
 
 smartyLoadUrlInEl ($params, $smarty)
 
 smartyNullLinkAction ($params, $smarty)
 
 smartyPageInfo ($params, $smarty)
 
 smartyPageLinks ($params, $smarty)
 
 smartyPluckFiles ($params, $smarty)
 
 smartyStrtotime ($string)
 
 smartyTitle ($parameters, $smarty)
 
 smartyToArray ()
 
 smartyTranslate ($params, $smarty)
 
 smartyUrl ($parameters, $smarty)
 

Additional Inherited Members

- Static Public Member Functions inherited from PKPTemplateManager
static & getManager ($request=null)
 

Detailed Description

Class for accessing the underlying template engine. Currently integrated with Smarty (from http://smarty.php.net/).

Definition at line 22 of file TemplateManager.inc.php.

Member Function Documentation

◆ initialize()

TemplateManager::initialize (   $request)

Initialize template engine and assign basic template variables.

Parameters
$requestPKPRequest

Reimplemented from PKPTemplateManager.

Definition at line 27 of file TemplateManager.inc.php.

References PKPTemplateManager\addStyleSheet(), Application\getContextDAO(), and DAORegistry\getDAO().


The documentation for this class was generated from the following file: