Skip to content

SmartyBlockInterface

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

Extension interface for smarty block functions

Implements:

Imponeer\Contracts\Smarty\Extension\SmartyExtensionInterface

Methods

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

SmartyBlockInterface::execute

Description

public execute (array $params, null|string $content, \Smarty_Internal_Template $template, mixed $repeat)

Execute block function

Parameters

  • (array) $params : Passed params to block
  • (null|string) $content : Content of template
  • (\Smarty_Internal_Template) $template : Reference to current smarty internal
  • (mixed) $repeat : Helps work with repeating block processing

Return Values

mixed


SmartyBlockInterface::getName

Description

public getName (void)

Gets name how to register this extension

Parameters

This function has no parameters.

Return Values

string