function cmfcCalendarV1Iranian::replaceVariables in Calendar Systems 5
Same name and namespace in other branches
- 6.3 calendar/v1/calendarSystems/iranian.class.inc.php \cmfcCalendarV1Iranian::replaceVariables()
- 6 calendar/v1/calendarSystems/iranian.class.inc.php \cmfcCalendarV1Iranian::replaceVariables()
- 7.3 calendar/v1/calendarSystems/iranian.class.inc.php \cmfcCalendarV1Iranian::replaceVariables()
$replacements['00username00']='jafar gholi';
File
- calendar/
v1/ calendarSystems/ iranian.class.inc.php, line 774
Class
Code
function replaceVariables($replacements, $text) {
foreach ($replacements as $needle => $replacement) {
$text = str_replace($needle, $replacement, $text);
}
return $text;
}