PEEL Shopping
Open source ecommerce : PEEL Shopping
modifiercompiler.count_sentences.php
Go to the documentation of this file.
1 <?php
22 function smarty_modifiercompiler_count_sentences($params, $compiler)
23 {
24  // find periods, question marks, exclamation marks with a word before but not after.
25  return 'preg_match_all("#\w[\.\?\!](\W|$)#S' . Smarty::$_UTF8_MODIFIER . '", ' . $params[0] . ', $tmp)';
26 }
27 
28 ?>
static $_UTF8_MODIFIER
Flag denoting if PCRE should run in UTF-8 mode.
smarty_modifiercompiler_count_sentences($params, $compiler)
Smarty count_sentences 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.