Skip to content

SmartyFunctionInterface

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\SmartyFunctionInterface

Interface that lets to define smarty function extension

Implements:

Imponeer\Contracts\Smarty\Extension\SmartyExtensionInterface

Methods

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

SmartyFunctionInterface::execute

Description

public execute (array $params, \Smarty_Internal_Template $template)

Execute function

Parameters

  • (array) $params : Parameters used to call function
  • (\Smarty_Internal_Template) $template : Current smarty object instance

Return Values

string|void


SmartyFunctionInterface::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