PHP Class Horde_ActiveSync_Message_Task, horde

Author: Michael J Rubinsky ([email protected])
Inheritance: extends Horde_ActiveSync_Message_Base
Mostra file Open project: horde/horde Class Usage Examples

Protected Properties

Property Type Description
$_dayOfWeekMap array DOW mapping for DATE to MASK
$_mapping array Property mapping
$_properties array Property values.

Public Methods

Method Description
__construct ( array $options = [] ) Const'r
getClass ( ) : string Return this object's folder class
getImportance ( ) : integer Get the task importance level
getRecurrence ( ) : Horde_Date_Recurrence Obtain a recurrence object. Note this returns a Horde_Date_Recurrence object, not Horde_ActiveSync_Message_Recurrence.
getReminder ( ) : Horde_Date Get the reminder time.
setImportance ( integer $importance ) Set the importance
setRecurrence ( Horde_Date_Recurrence $recurrence ) Set recurrence information for this task
setReminder ( Horde_Date $datetime ) Set the reminder datetime

Protected Methods

Method Description
_checkSendEmpty ( string $tag ) : boolean Check if a field should be sent to the device even if it is empty.

Method Details

__construct() public method

Const'r
See also: Horde_ActiveSync_Message_Base::__construct()
public __construct ( array $options = [] )
$options array

_checkSendEmpty() protected method

Check if a field should be sent to the device even if it is empty.
protected _checkSendEmpty ( string $tag ) : boolean
$tag string The field tag.
return boolean

getClass() public method

Return this object's folder class
public getClass ( ) : string
return string

getImportance() public method

Get the task importance level
public getImportance ( ) : integer
return integer A IMPORTANCE_* constant

getRecurrence() public method

Obtain a recurrence object. Note this returns a Horde_Date_Recurrence object, not Horde_ActiveSync_Message_Recurrence.
public getRecurrence ( ) : Horde_Date_Recurrence
return Horde_Date_Recurrence

getReminder() public method

Get the reminder time.
public getReminder ( ) : Horde_Date
return Horde_Date in local tz

setImportance() public method

Set the importance
public setImportance ( integer $importance )
$importance integer A IMPORTANCE_* flag

setRecurrence() public method

Set recurrence information for this task
public setRecurrence ( Horde_Date_Recurrence $recurrence )
$recurrence Horde_Date_Recurrence

setReminder() public method

Set the reminder datetime
public setReminder ( Horde_Date $datetime )
$datetime Horde_Date The time to trigger the alarm in local tz.

Property Details

$_dayOfWeekMap protected_oe property

DOW mapping for DATE to MASK
protected array $_dayOfWeekMap
return array

$_mapping protected_oe property

Property mapping
protected array $_mapping
return array

$_properties protected_oe property

Property values.
protected array $_properties
return array