You are here

private function ICalendarEvent::formatValue in Opigno calendar event 8

Same name and namespace in other branches
  1. 3.x src/iCal/ICalendarEvent.php \Drupal\opigno_calendar_event\iCal\ICalendarEvent::formatValue()

Escape commas, semi-colons, backslashes.

See also

http://stackoverflow.com/questions/1590368/should-a-colon-character-be-e...

File

src/iCal/ICalendarEvent.php, line 86

Class

ICalendarEvent
Class ICalendarEvent.

Namespace

Drupal\opigno_calendar_event\iCal

Code

private function formatValue($str) {
  return addcslashes($str, ",\\;");
}