/libs/plugins/block.textformat.php

Description

Smarty plugin to format text blocks

Functions
smarty_block_textformat (line 35)

Smarty {textformat}{/textformat} block plugin

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)

string smarty_block_textformat (array $params, string $content, Smarty_Internal_Template $template, boolean &$repeat)
  • array $params: parameters
  • string $content: contents of the block
  • Smarty_Internal_Template $template: template object
  • boolean &$repeat: repeat flag

Documentation generated on Sat, 24 Sep 2011 20:23:04 +0200 by phpDocumentor 1.4.1