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

Source for file modifier.quoted.php

Documentation is available at modifier.quoted.php

  1. <?php
  2. /**
  3.  * Smarty plugin
  4.  * @package Smarty
  5.  * @subpackage plugins
  6.  */
  7.  
  8. /**
  9.  * Smarty plugin
  10.  * -------------------------------------------------------------
  11.  * Type:     modifier
  12.  * Name:     spacify
  13.  * Purpose:  add spaces between characters in a string
  14.  * -------------------------------------------------------------
  15.  */
  16. function smarty_modifier_quoted($string)
  17. {
  18.     $string str_replace("\n","\n>",$string);
  19.     return '>'.$string;
  20. }
  21.  
  22. /* vim: set expandtab: */
  23.  
  24. ?>

Documentation generated on Wed, 29 Jul 2015 13:57:09 +0000 by phpDocumentor 1.5.0-lsces