Skip to content

SmartyCompilerInterface

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\Contracts\Smarty\Extension\SmartyCompilerInterface

Interface that lets to define smarty compiler extension (that is not internal function based)

Implements:

Imponeer\Contracts\Smarty\Extension\SmartyExtensionInterface

Methods

Name Description
execute Execute compiler
getName Gets name how to register this extension

SmartyCompilerInterface::execute

Description

public execute (array $args, \Smarty_Internal_SmartyTemplateCompiler $compiler)

Execute compiler

Parameters

  • (array) $args : Arguments from compiled tag
  • (\Smarty_Internal_SmartyTemplateCompiler) $compiler : Current compiler object

Return Values

string|void


SmartyCompilerInterface::getName

Description

public getName (void)

Gets name how to register this extension

Parameters

This function has no parameters.

Return Values

string


Clone this wiki locally