Writer
iCalendar/vCard/jCal/jCard/xCal/xCard writer object.
This object provides a few (static) convenience methods to quickly access the serializers.
- Full name:
\Sabre\VObject\Writer
Methods
write
Serializes a vCard or iCalendar object.
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$component |
\Sabre\VObject\Component |
writeJson
Serializes a jCal or jCard object.
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$component |
\Sabre\VObject\Component | |
$options |
int |
writeXml
Serializes a xCal or xCard object.
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$component |
\Sabre\VObject\Component |
Automatically generated on 2025-03-18