Procedural File: block.textformat.php

Source Location: /smarty/libs/plugins/block.textformat.php



Classes:

Page Details:

Smarty plugin





smarty_block_textformat

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

[line 31]

Smarty {textformat}{/textformat} block plugin

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

Tags:

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

[ Top ]


Documentation generated on Tue, 26 May 2009 14:50:32 -0700 by phpDocumentor 1.4.1