49 if (!isset(
$parameters[
'VALUE']) && in_array($this->name, [
'URL',
'PHOTO'])) {
84 if ($this->name ===
'URL') {
85 $regex =
'# (?: (\\\\ (?: \\\\ | : ) ) ) #x';
86 $matches = preg_split($regex, $val, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY);
88 foreach ($matches as $match) {
98 $this->value = $newVal;
100 $this->value = strtr($val, [
'\,' =>
',']);
112 if (is_array($this->value)) {
118 return strtr(
$value, [
',' =>
'\,']);
parameters()
Returns an iterable list of children.
setRawMimeDirValue($val)
Sets a raw value coming from a mimedir (iCalendar/vCard) file.
getRawMimeDirValue()
Returns a raw mime-dir representation of the value.
getValueType()
Returns the type of value.