private function addLine(&$string, $prop, $value) { $string .= sprintf("%s:%s\n", $prop, iCalendar::ical_escape_text($value)); }