TemplateCall
in package
Tags
Table of Contents
- ORDER_OF_TEMPLATES_FOLDER = ["Personalized (Theme)" => 1, "Personalized (Plugin)" => 2, "Default" => 3]
- TEMPLATE_FOLDER_INCLUDED = 'included'
- TEMPLATE_FOLDER_PLUGIN = 'plugin'
- TEMPLATE_FOLDER_THEME = 'theme'
- TEMPLATE_TYPE_EXPOSE = 'pdf'
- TEMPLATE_TYPE_MAIL = 'mail'
- $_pSDKWrapper : SDKWrapper
- $_templates : array<string|int, mixed>
- $_templateType : string
- __construct() : mixed
- formatTemplatesData() : array<string|int, mixed>
- getSDKWrapper() : SDKWrapper
- getTemplates() : array<string|int, mixed>
- getTemplatesFolderInfo() : mixed
- getTemplateType() : string
- loadTemplates() : mixed
Constants
ORDER_OF_TEMPLATES_FOLDER
public
mixed
ORDER_OF_TEMPLATES_FOLDER
= ["Personalized (Theme)" => 1, "Personalized (Plugin)" => 2, "Default" => 3]
TEMPLATE_FOLDER_INCLUDED
public
mixed
TEMPLATE_FOLDER_INCLUDED
= 'included'
TEMPLATE_FOLDER_PLUGIN
public
mixed
TEMPLATE_FOLDER_PLUGIN
= 'plugin'
TEMPLATE_FOLDER_THEME
public
mixed
TEMPLATE_FOLDER_THEME
= 'theme'
TEMPLATE_TYPE_EXPOSE
public
mixed
TEMPLATE_TYPE_EXPOSE
= 'pdf'
TEMPLATE_TYPE_MAIL
public
mixed
TEMPLATE_TYPE_MAIL
= 'mail'
Properties
$_pSDKWrapper
private
SDKWrapper
$_pSDKWrapper
= null
$_templates
private
array<string|int, mixed>
$_templates
= []
$_templateType
private
string
$_templateType
= ''
Methods
__construct()
public
__construct([string $templateType = self::TEMPLATE_TYPE_EXPOSE ][, SDKWrapper $pSDKWrapper = null ]) : mixed
Parameters
- $templateType : string = self::TEMPLATE_TYPE_EXPOSE
- $pSDKWrapper : SDKWrapper = null
Return values
mixed —formatTemplatesData()
public
formatTemplatesData( $templatesAll, $directory) : array<string|int, mixed>
Parameters
Return values
array<string|int, mixed> —getSDKWrapper()
public
getSDKWrapper() : SDKWrapper
Return values
SDKWrapper —getTemplates()
public
getTemplates() : array<string|int, mixed>
Return values
array<string|int, mixed> —getTemplatesFolderInfo()
public
getTemplatesFolderInfo() : mixed
Return values
mixed —getTemplateType()
public
getTemplateType() : string
Return values
string —loadTemplates()
public
loadTemplates() : mixed