TemplateManager Class Reference

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

List of all members.

Public Member Functions

 smartyGetHelpId ($params, &$smarty)
 smartyHelpTopic ($params, &$smarty)
 smartyPageLinks ($params, &$smarty)
 TemplateManager ()


Detailed Description

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

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


Member Function Documentation

TemplateManager.smartyGetHelpId ( params,
&$  smarty 
)

Smarty usage: {get_help_id key="(dir)*.page.topic" url="boolean"}

Custom Smarty function for retrieving help topic ids. Direct mapping of page topic key to a numerical value representing the associated help topic xml file $params array associative array, must contain "key" parameter for string to translate $smarty Smarty

Returns:
numerical help topic id

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

References Request.url().

TemplateManager.smartyHelpTopic ( params,
&$  smarty 
)

Smarty usage: {help_topic key="(dir)*.page.topic" text="foo"}

Custom Smarty function for creating anchor tags $params array associative array $smarty Smarty

Returns:
anchor link to related help topic

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

References Request.url().

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 229 of file TemplateManager.inc.php.

TemplateManager.TemplateManager (  ) 

Constructor. Initialize template engine and assign basic template variables.

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

References Request.getConference(), PublicFileManager.getConferenceFilesPath(), OCSPaymentManager.getManager(), Request.getSchedConf(), and PublicFileManager.getSchedConfFilesPath().


The documentation for this class was generated from the following file:
Generated on 25 Jul 2013 for Open Conference Systems by  doxygen 1.4.7