PHP 클래스 Horde_ActiveSync_Message_Contact, horde

저자: Michael J Rubinsky ([email protected])
상속: extends Horde_ActiveSync_Message_Base
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$categories

보호된 프로퍼티들

프로퍼티 타입 설명
$_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