phpDocumentor Smarty
plugins
[ class tree: Smarty ] [ index: Smarty ] [ all elements ]

Procedural File: block.textformat.php

Source Location: /modules/Base/Theme/smarty/plugins/block.textformat.php

Page Details

Smarty plugin

Functions
smarty_block_textformat  [line 31]

string smarty_block_textformat( array $params, string $content, Smarty &$smarty  )

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:
array   $params: 
 Params:   style: string (email)
           indent: integer (0)
           wrap: integer (80)
           wrap_char string ("\n")
           indent_char: string (" ")
           wrap_boundary: boolean (true)
string   $content:  contents of the block
Smarty   &$smarty:  clever simulation of a method

API Tags:
Return:  string $content re-formatted

Information Tags:
Author:  Monte Ohrt <at ohrt dot com monte at ohrt dot com>
Link:  http://smarty.php.net/manual/en/language.function.textformat.php {textformat} (Smarty online manual)

[ Top ]


Documentation generated on Fri, 26 Dec 2008 21:38:43 -0500 by phpDocumentor 1.4.2