changed git call from https to git readonly
[atutor.git] / mods / phpdoc2 / PhpDocumentor / phpDocumentor / Smarty-2.6.0 / libs / plugins / modifier.replace.php
1 <?php\r
2 /**\r
3  * Smarty plugin\r
4  * @package Smarty\r
5  * @subpackage plugins\r
6  */\r
7 \r
8 \r
9 /**\r
10  * Smarty replace modifier plugin\r
11  *\r
12  * Type:     modifier<br>\r
13  * Name:     replace<br>\r
14  * Purpose:  simple search/replace\r
15  * @link http://smarty.php.net/manual/en/language.modifier.replace.php\r
16  *          replace (Smarty online manual)\r
17  * @param string\r
18  * @param string\r
19  * @param string\r
20  * @return string\r
21  */\r
22 function smarty_modifier_replace($string, $search, $replace)\r
23 {\r
24     return str_replace($search, $replace, $string);\r
25 }\r
26 \r
27 /* vim: set expandtab: */\r
28 \r
29 ?>\r