/plugins/builtin/functions/truncate.php

Description

Truncates a string at the given length

  * value : text to truncate
  * length : the maximum length for the string
  * etc : the characters that are added to show that the string was cut off
  * break : if true, the string will be cut off at the exact length, instead of cutting at the nearest space
  * middle : if true, the string will contain the beginning and the end, and the extra characters will be removed from the middle
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

This file is released under the LGPL "GNU Lesser General Public License" More information can be found here: http://www.gnu.org/copyleft/lesser.html

Functions
Dwoo_Plugin_truncate (line 28)
void Dwoo_Plugin_truncate (Dwoo $dwoo,  $value, [ $length = 80], [ $etc = '...'], [ $break = false], [ $middle = false])
  • Dwoo $dwoo
  • $value
  • $length
  • $etc
  • $break
  • $middle

Documentation generated on Sat, 28 Jun 2008 01:38:36 +0200 by phpDocumentor 1.4.0