updated all doc comments to phpDocumentor format

This commit is contained in:
cellog
2003-04-20 21:12:13 +00:00
parent 9b42197d3e
commit 02f56203ad
47 changed files with 863 additions and 357 deletions

View File

@@ -1,14 +1,26 @@
<?php
/*
/**
* Smarty plugin
* -------------------------------------------------------------
* Type: modifier
* Name: truncate
* @package Smarty
* @subpackage plugins
*/
/**
* Smarty truncate modifier plugin
*
* Type: modifier<br>
* Name: truncate<br>
* Purpose: Truncate a string to a certain length if necessary,
* optionally splitting in the middle of a word, and
* appending the $etc string.
* -------------------------------------------------------------
* @link http://smarty.php.net/manual/en/language.modifier.truncate.php
* truncate (Smarty online manual)
* @param string
* @param integer
* @param string
* @param boolean
* @return string
*/
function smarty_modifier_truncate($string, $length = 80, $etc = '...',
$break_words = false)