Functions

Smarty {php}{/php} block plugin

smarty_block_php($params, string $content, object $template, $repeat) : string

Parameters

$params

$content

string

contents of the block

$template

object

template object

$repeat

Returns

stringcontent re-formatted

Smarty {textformat}{/textformat} block plugin

smarty_block_textformat(array $params, string $content, \Smarty_Internal_Template $template, boolean $repeat) : string

Type: block function
Name: textformat
Purpose: format text a certain way with preset styles or custom wrap/indent settings
Params:

- style         - string (email)
- indent        - integer (0)
- wrap          - integer (80)
- wrap_char     - string ("\n")
- indent_char   - string (" ")
- wrap_boundary - boolean (true)
link {textformat} (Smarty online manual)
author Monte Ohrt <monte at ohrt dot com>

Parameters

$params

array

parameters

$content

string

contents of the block

$template

\Smarty_Internal_Template

template object

$repeat

boolean

&$repeat repeat flag

Returns

stringcontent re-formatted