Skip to content

TransBlock

MekDrop edited this page Jul 25, 2022 · 1 revision
Notice: Wiki was automatic generated from project sources as project API documentation. Do not edit manually!# Imponeer\Smarty\Extensions\Translate\TransBlock

Implements smarty {trans}...{/trans} block

Implements:

Imponeer\Contracts\Smarty\Extension\SmartyBlockInterface, Imponeer\Contracts\Smarty\Extension\SmartyExtensionInterface

Methods

Name Description
__construct TransVarModifier constructor.
execute
getName

TransBlock::__construct

Description

public __construct (\TranslatorInterface $translator)

TransVarModifier constructor.

Parameters

  • (\TranslatorInterface) $translator

Return Values

void


TransBlock::execute

Description

 execute (void)

Parameters

This function has no parameters.

Return Values

void


TransBlock::getName

Description

 getName (void)

Parameters

This function has no parameters.

Return Values

void


Clone this wiki locally