PEEL Shopping
Open source ecommerce : PEEL Shopping
modifiercompiler.from_charset.php
Go to the documentation of this file.
1 <?php
20 function smarty_modifiercompiler_from_charset($params, $compiler)
21 {
22  if (!Smarty::$_MBSTRING) {
23  // FIXME: (rodneyrehm) shouldn't this throw an error?
24  return $params[0];
25  }
26 
27  if (!isset($params[1])) {
28  $params[1] = '"ISO-8859-1"';
29  }
30 
31  return 'mb_convert_encoding(' . $params[0] . ', "' . addslashes(Smarty::$_CHARSET) . '", ' . $params[1] . ')';
32 }
33 
34 ?>
static $_MBSTRING
Flag denoting if Multibyte String functions are available.
static $_CHARSET
The character set to adhere to (e.g.
smarty_modifiercompiler_from_charset($params, $compiler)
Smarty from_charset 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.