/usr/share/php/Horde/ActiveSync/Message/TaskRecurrence.php is in php-horde-activesync 2.19.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | <?php
/**
* Horde_ActiveSync_Message_TaskRecurrence::
*
* Portions of this class were ported from the Z-Push project:
* File : wbxml.php
* Project : Z-Push
* Descr : WBXML mapping file
*
* Created : 01.10.2007
*
* � Zarafa Deutschland GmbH, www.zarafaserver.de
* This file is distributed under GPL-2.0.
* Consult COPYING file for details
*
* @license http://www.horde.org/licenses/gpl GPLv2
* NOTE: According to sec. 8 of the GENERAL PUBLIC LICENSE (GPL),
* Version 2, the distribution of the Horde_ActiveSync module in or
* to the United States of America is excluded from the scope of this
* license.
* @copyright 2012-2014 Horde LLC (http://www.horde.org)
* @author Michael J Rubinsky <mrubinsk@horde.org>
* @package ActiveSync
*/
/**
* Horde_ActiveSync_Message_TaskRecurrence::
*
* Portions of this class were ported from the Z-Push project:
* File : wbxml.php
* Project : Z-Push
* Descr : WBXML mapping file
*
* Created : 01.10.2007
*
* � Zarafa Deutschland GmbH, www.zarafaserver.de
* This file is distributed under GPL-2.0.
* Consult COPYING file for details
*
* @license http://www.horde.org/licenses/gpl GPLv2
* NOTE: According to sec. 8 of the GENERAL PUBLIC LICENSE (GPL),
* Version 2, the distribution of the Horde_ActiveSync module in or
* to the United States of America is excluded from the scope of this
* license.
* @copyright 2012-2014 Horde LLC (http://www.horde.org)
* @author Michael J Rubinsky <mrubinsk@horde.org>
* @package ActiveSync
*
* @property integer $type
* @property Horde_Date $start
* @property Horde_Date $until
* @property string $occurrences
* @property integer $interval
* @property integer $dayofweek
* @property integer $dayofmonth
* @property integer $weekofmonth
* @property integer $monthofyear
*/
class Horde_ActiveSync_Message_TaskRecurrence extends Horde_ActiveSync_Message_Base
{
/* MS AS Recurrence types */
const TYPE_DAILY = 0;
const TYPE_WEEKLY = 1;
const TYPE_MONTHLY = 2;
const TYPE_MONTHLY_NTH = 3;
const TYPE_YEARLY = 5;
const TYPE_YEARLYNTH = 6;
/**
* Property mapping.
*
* @var array
*/
protected $_mapping = array (
Horde_ActiveSync_Message_Task::POOMTASKS_TYPE => array(self::KEY_ATTRIBUTE => 'type'),
Horde_ActiveSync_Message_Task::POOMTASKS_UNTIL => array(self::KEY_ATTRIBUTE => 'until', self::KEY_TYPE => self::TYPE_DATE),
Horde_ActiveSync_Message_Task::POOMTASKS_OCCURRENCES => array(self::KEY_ATTRIBUTE => 'occurrences'),
Horde_ActiveSync_Message_Task::POOMTASKS_INTERVAL => array(self::KEY_ATTRIBUTE => 'interval'),
Horde_ActiveSync_Message_Task::POOMTASKS_DAYOFWEEK => array(self::KEY_ATTRIBUTE => 'dayofweek'),
Horde_ActiveSync_Message_Task::POOMTASKS_DAYOFMONTH => array(self::KEY_ATTRIBUTE => 'dayofmonth'),
Horde_ActiveSync_Message_Task::POOMTASKS_WEEKOFMONTH => array(self::KEY_ATTRIBUTE => 'weekofmonth'),
Horde_ActiveSync_Message_Task::POOMTASKS_MONTHOFYEAR => array(self::KEY_ATTRIBUTE => 'monthofyear'),
Horde_ActiveSync_Message_Task::POOMTASKS_START => array(self::KEY_ATTRIBUTE => 'start', self::KEY_TYPE => self::TYPE_DATE),
);
/**
* Property values.
*
* @var array
*/
protected $_properties = array(
'type' => false,
'start' => false,
'until' => false,
'occurrences' => false,
'interval' => false,
'dayofweek' => false,
'dayofmonth' => false,
'weekofmonth' => false,
'monthofyear' => false,
);
}
|