PHP Класс Horde_ActiveSync_Message_Contact, horde

Автор: Michael J Rubinsky ([email protected])
Наследование: extends Horde_ActiveSync_Message_Base
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$categories

Защищенные свойства (Protected)

Свойство Тип Описание
$_mapping array Property mapping.
$_properties array Property values.

Открытые методы

Метод Описание
__construct ( array $options = [] ) Const'r
getClass ( ) : string Return message type
isGhosted ( string $property, array $options = [] ) : boolean Determines if the property specified has been ghosted by the client.

Защищенные методы

Метод Описание
_checkSendEmpty ( string $tag ) : boolean Check if we should send a specific property even if it's empty.
_formatDate ( Horde_Date $dt, integer $type ) : string Format a date string for sending to the EAS client.
_parseDate ( string $ts ) : Horde_Date | boolean Override parent class so we can normalize the Date object before returning it.

Описание методов

__construct() публичный метод

Const'r
См. также: Horde_ActiveSync_Message_Base::__construct()
public __construct ( array $options = [] )
$options array

_checkSendEmpty() защищенный метод

Check if we should send a specific property even if it's empty.
protected _checkSendEmpty ( string $tag ) : boolean
$tag string The property tag.
Результат boolean

_formatDate() защищенный метод

Format a date string for sending to the EAS client.
protected _formatDate ( Horde_Date $dt, integer $type ) : string
$dt Horde_Date The Horde_Date object to format (should normally be in local tz).
$type integer The type to format as (TYPE_DATE or TYPE_DATE_DASHES)
Результат string The formatted date

_parseDate() защищенный метод

Override parent class so we can normalize the Date object before returning it.
protected _parseDate ( string $ts ) : Horde_Date | boolean
$ts string The timestamp
Результат Horde_Date | boolean The Horde_Date object (UTC) or false if unable to parse the date.

getClass() публичный метод

Return message type
public getClass ( ) : string
Результат string

isGhosted() публичный метод

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.
public isGhosted ( string $property, array $options = [] ) : boolean
$property string The property to check
$options array An array of options: - ignoreEmptyPictureTagCheck: boolean If true, will not check for the QUIRK_INCORRECTLY_SENDS_EMPTY_PICTURE_TAG quirk. @since 2.32.0
Результат boolean

Описание свойств

$_mapping защищенное свойство

Property mapping.
protected array $_mapping
Результат array

$_properties защищенное свойство

Property values.
protected array $_properties
Результат array

$categories публичное свойство

public $categories