include/Smarty/plugins/block.textformat.php

Show: inherited
    Table of Contents

    Smarty plugin

    Package
    Smarty  
    Subpackage
    plugins  

    Functions

    functionsmarty_block_textformat( array $params, string $content, \Smarty $smarty ) : string

    Smarty {textformat}{/textformat} block plugin

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

    Parameters
    Name Type Description
    $params array
     Params: style: string (email) indent: integer (0) wrap: integer (80) wrap_char string ("\n") indent_char: string (" ") wrap_boundary: boolean (true) 
    $content string

    contents of the block

    $smarty \Smarty

    clever simulation of a method

    Returns
    Type Description
    string string $content re-formatted
    Details
    Author
    Monte Ohrt  
    Link
    {textformat} (Smarty online manual)  
    Documentation was generated by DocBlox 0.18.1.