Public Member Functions

TemplateManager Class Reference

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

Inherited by FBVTemplateManager.

List of all members.

Public Member Functions

 _assignPressSwitcherData (&$presses, $currentPress=null)
 smartyPageLinks ($params, &$smarty)
 TemplateManager ($request=null)

Detailed Description

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

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


Member Function Documentation

TemplateManager._assignPressSwitcherData ( &$  presses,
currentPress = null 
)

Get the press switcher data and assign it to the template manager.

Parameters:
$presses Array
$currentPress Press

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

Referenced by TemplateManager().

TemplateManager.smartyPageLinks ( params,
&$  smarty 
)

Display page links for a listing of items that has been divided onto multiple pages. Usage: {page_links name="nameMustMatchGetRangeInfoCall" iterator=$myIterator additional_param=myAdditionalParameterValue }

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

TemplateManager.TemplateManager ( request = null  ) 

Constructor. Initialize template engine and assign basic template variables.

Parameters:
$request PKPRequest FIXME: is optional for backwards compatibility only - make mandatory

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

References _assignPressSwitcherData().


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