47 throw new \InvalidArgumentException(
'The argument must either be a string or an array with only one child');
70 $this->value = base64_decode($val);
81 return base64_encode($this->value);
108 return [base64_encode($this->
getValue())];
123 $value = array_map(
'base64_decode', $value);
124 parent::setJsonValue($value);
getRawMimeDirValue()
Returns a raw mime-dir representation of the value.
setJsonValue(array $value)
Sets the json value, as it would appear in a jCard or jCal object.
setValue($value)
Updates the current value.
getJsonValue()
Returns the value, in the format it should be encoded for json.
setRawMimeDirValue($val)
Sets a raw value coming from a mimedir (iCalendar/vCard) file.
count()
Returns the number of elements.
getValue()
Returns the current value.
getValueType()
Returns the type of value.