public static function DateiCalParse::split_multiline_entry in Date 8
Explode a multiline entry into its lines.
2 calls to DateiCalParse::split_multiline_entry()
- DateiCalParse::extract_rrule_string in date_api/
lib/ Drupal/ date_api/ DateiCalParse.php - Extract the RRULE from a multiline entry.
- DateiCalParse::split_rrule in date_api/
lib/ Drupal/ date_api/ DateiCalParse.php - Parse an iCal rule into a parsed RRULE array, along with EXDATE and RDATE arrays.
File
- date_api/
lib/ Drupal/ date_api/ DateiCalParse.php, line 639 - Parse iCal data.
Class
- DateiCalParse
- Return an array of iCalendar information from an iCalendar file.
Namespace
Drupal\date_apiCode
public static function split_multiline_entry($entry) {
return explode("\n", str_replace("\r\n", "\n", $entry));
}