PEEL Shopping
Open source ecommerce : PEEL Shopping
modifiercompiler.strip_tags.php
Go to the documentation of this file.
1 <?php
21 function smarty_modifiercompiler_strip_tags($params, $compiler)
22 {
23  if (!isset($params[1]) || $params[1] === true || trim($params[1],'"') == 'true') {
24  return "preg_replace('!<[^>]*?>!', ' ', {$params[0]})";
25  } else {
26  return 'strip_tags(' . $params[0] . ')';
27  }
28 }
smarty_modifiercompiler_strip_tags($params, $compiler)
Smarty strip_tags modifier plugin.

This documentation for Open ecommerce PEEL Shopping and PEEL.fr has been generated by Doxygen on Thu Oct 15 2015 14:41:16 - Peel ecommerce is a product of Agence web Advisto SAS. All rights reserved.