Beispiel #1
0
 public static function __GetUFForParseText($eventId = 0, $arUFWDValue = array())
 {
     if (!isset(self::$eventUFDescriptions)) {
         global $USER_FIELD_MANAGER;
         $USER_FIELDS = $USER_FIELD_MANAGER->GetUserFields("CALENDAR_EVENT", $eventId, LANGUAGE_ID);
         $USER_FIELDS = array('UF_WEBDAV_CAL_EVENT' => $USER_FIELDS['UF_WEBDAV_CAL_EVENT']);
         self::$eventUFDescriptions = $USER_FIELDS;
     } else {
         $USER_FIELDS = self::$eventUFDescriptions;
     }
     $USER_FIELDS['UF_WEBDAV_CAL_EVENT']['VALUE'] = $arUFWDValue;
     $USER_FIELDS['UF_WEBDAV_CAL_EVENT']['ENTITY_VALUE_ID'] = $eventId;
     return $USER_FIELDS;
 }