interface TemplateHelperInterface

Methods

bool
isActive( TemplateDefinition $tplDefinition)

Check if a template definition is the current active template

getStandardTemplateDefinitions()

Returns an array which contains all standard template definitions

getList( int $templateType, string $base = THELIA_TEMPLATE_DIR)

Return a list of existing templates for a given template type

Details

at line 25
TemplateDefinition getActiveMailTemplate()

Return Value

TemplateDefinition

at line 33
bool isActive( TemplateDefinition $tplDefinition)

Check if a template definition is the current active template

Parameters

TemplateDefinition $tplDefinition

Return Value

bool true is the given template is the active template

at line 38
TemplateDefinition getActivePdfTemplate()

Return Value

TemplateDefinition

at line 43
TemplateDefinition getActiveAdminTemplate()

Return Value

TemplateDefinition

at line 48
TemplateDefinition getActiveFrontTemplate()

Return Value

TemplateDefinition

at line 53
getStandardTemplateDefinitions()

Returns an array which contains all standard template definitions

at line 62
TemplateDefinition[] getList( int $templateType, string $base = THELIA_TEMPLATE_DIR)

Return a list of existing templates for a given template type

Parameters

int $templateType the template type
string $base the template base (module or core, default to core).

Return Value

TemplateDefinition[] of \Thelia\Core\Template\TemplateDefinition