Location: PHPKode > projects > simpleMVC > myGifts/includes/smarty/libs/plugins/modifier.replace.php
<?php

/*
 * Smarty plugin
 * -------------------------------------------------------------
 * Type:     modifier
 * Name:     replace
 * Purpose:  simple search/replace
 * -------------------------------------------------------------
 */
function smarty_modifier_replace($string, $search, $replace)
{
    return str_replace($search, $replace, $string);
}

/* vim: set expandtab: */

?>
Return current item: simpleMVC