[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/libraries/Smarty/libs/plugins/ -> block.textformat.php (summary)

Smarty plugin to format text blocks

File Size: 113 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 libraries/Smarty/libs/plugins/shared.mb_wordwrap.php

Defines 1 function

  smarty_block_textformat()

Functions
Functions that are not part of a class:

smarty_block_textformat($params, $content, $template, &$repeat)   X-Ref
Smarty {textformat}{/textformat} block plugin

Type:     block function<br>
Name:     textformat<br>
Purpose:  format text a certain way with preset styles
or custom wrap/indent settings<br>
Params:
<pre>
- style         - string (email)
- indent        - integer (0)
- wrap          - integer (80)
- wrap_char     - string ("\n")
- indent_char   - string (" ")
- wrap_boundary - boolean (true)
</pre>

author: Monte Ohrt <monte at ohrt dot com>
param: array                    $params   parameters
param: string                   $content  contents of the block
param: Smarty_Internal_Template $template template object
param: boolean                  &$repeat  repeat flag
return: string content re-formatted



Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1