• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • Examples
  • File List

E:/E/GEAMP/www/openbiz/openbiz/others/Smarty/libs/plugins/modifier.strip_tags.php

00001 <?php
00021 function smarty_modifier_strip_tags($string, $replace_with_space = true)
00022 {
00023     if ($replace_with_space)
00024         return preg_replace('!<[^>]*?>!', ' ', $string);
00025     else
00026         return strip_tags($string);
00027 }
00028 
00029 /* vim: set expandtab: */
00030 
00031 ?>

Generated on Thu Apr 19 2012 17:01:16 for openbiz by  doxygen 1.7.2