cvs: smarty /libs/plugins block.textformat.php
| From: | Greg Beaver | Date: | Sun, 20 Apr 2003 06:01:17 +0000 |
| Subject: | cvs: smarty /libs/plugins block.textformat.php | ||
| Groups: | php.smarty.cvs | ||
| Request: | Send a blank email to php-smarty-cvs+get-537@lists.php.net to get a copy of this message | ||
cellog Sun Apr 20 02:01:17 2003 EDT
Modified files:
/smarty/libs/plugins block.textformat.php
Log:
Index: smarty/libs/plugins/block.textformat.php
diff -u smarty/libs/plugins/block.textformat.php:1.1 smarty/libs/plugins/block.textformat.php:1.2
--- smarty/libs/plugins/block.textformat.php:1.1 Mon Sep 16 11:19:41 2002
+++ smarty/libs/plugins/block.textformat.php Sun Apr 20 02:01:16 2003
@@ -1,19 +1,28 @@
<?php
-
-/*
+/**
* Smarty plugin
- * -------------------------------------------------------------
- * Type: block function
- * Name: textformat
+ * @package Smarty
+ * @subpackage plugins
+ */
+
+/**
+ * Smarty textformat plugin
+ *
+ * Type: block function<br>
+ * Name: textformat<br>
* Purpose: format text a certain way with preset styles
- * or custom wrap/indent settings
+ * or custom wrap/indent settings<br>
+ * @param array
+ * <pre>
* Params: style: string (email)
* indent: integer (0)
* wrap: integer (80)
* wrap_char string ("\n")
* indent_char: string (" ")
* wrap_boundary: boolean (true)
- * -------------------------------------------------------------
+ * </pre>
+ * @param string contents of the block
+ * @param Smarty clever simulation of a method
*/
function smarty_block_textformat($params, $content, &$this)
{