function cmfcCalendarV1Iranian::replaceVariables in Calendar Systems 7.3
Same name and namespace in other branches
- 5 calendar/v1/calendarSystems/iranian.class.inc.php \cmfcCalendarV1Iranian::replaceVariables()
- 6.3 calendar/v1/calendarSystems/iranian.class.inc.php \cmfcCalendarV1Iranian::replaceVariables()
- 6 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;
}