KEY_ATTRIBUTE
KEY_ATTRIBUTE
Horde_ActiveSync_Message_Contact::
$_device : \Horde_ActiveSync_Device
The device object
__construct(array $options = array()) : \Horde_ActiveSync_Message_Base
Const'r
array | $options | Configuration options for the message:
|
setSupported(array $fields)
Set the list of non-ghosted fields for this message.
array | $fields | The array of fields, keyed by the fully qualified property name i.e., POOMCONTACTS:Anniversary. To signify an empty SUPPORTED container $fields should contain a single element equal to Horde_ActiveSync::ALL_GHOSTED. |
isGhosted(string $property, array $options = array()) : boolean
Determines if the property specified has been ghosted by the client.
A property is ghosted if it is NOT listed in the SUPPORTED list sent by the client AND is NOT present in the request data.
string | $property | The property to check |
array | $options | An array of options:
|
decodeStream(\Horde_ActiveSync_Wbxml_Decoder $decoder)
Recursively decodes the WBXML from input stream. This means that if this message contains complex types (like Appointment.Recuurence for example) the sub-objects are auto-instantiated and decoded as well. Places the decoded objects in the local properties array.
\Horde_ActiveSync_Wbxml_Decoder | $decoder |
encodeStream(\Horde_ActiveSync_Wbxml_Encoder $encoder)
Encodes this object (and any sub-objects) as wbxml to the output stream.
Output is ordered according to $_mapping
\Horde_ActiveSync_Wbxml_Encoder | $encoder | The wbxml stream encoder |
_checkEncoding(mixed $data, string $tag) : mixed
Checks if the data needs to be encoded like e.g., when outputing binary data in-line during ITEMOPERATIONS requests. Concrete classes should override this if needed.
mixed | $data | The data to check. A string or stream resource. |
string | $tag | The tag we are outputing. |
The encoded data. A string or stream resource with a filter attached.
_formatDate(\Horde_Date $dt, integer $type) : string
Format a date string for sending to the EAS client.
So we have to send a different date type depending on where it's used. Used when encoding a date value to send to the client.
\Horde_Date | $dt | The Horde_Date object to format (should normally be in local tz). |
integer | $type | The type to format as (TYPE_DATE or TYPE_DATE_DASHES) |
The formatted date
_parseDate(string $ts) : \Horde_Date|boolean
Override parent class so we can normalize the Date object before returning it.
Used when decoding an incoming date value from the client.
string | $ts | The timestamp |
The Horde_Date object (UTC) or false if unable to parse the date.