source: branches/2.4/prototype/modules/calendar/constants.php @ 7228

Revision 7228, 3.2 KB checked in by douglas, 12 years ago (diff)

Ticket #0000 - Copiadas as alterações do Trunk. Versão final da 2.4.2.

Line 
1<?php
2
3        /**
4        *
5        * Copyright (C) 2011 Consórcio Expresso Livre - 4Linux (www.4linux.com.br) e Prognus Software Livre (www.prognus.com.br)
6        *
7        * This program is free software; you can redistribute it and/or modify
8        * it under the terms of the GNU General Public License as published by
9        * the Free Software Foundation; either version 3 of the License, or
10        * any later version.
11        *
12        * This program is distributed in the hope that it will be useful, but WITHOUT
13        * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
14        * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
15        * details.
16        *
17        * You should have received a copy of the GNU General Public License
18        * along with this program; if not, write to the Free Software Foundation,
19        * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
20        *
21        * You can contact Prognus Software Livre headquarters at Av. Tancredo Neves,
22        * 6731, PTI, Edifício do Saber, 3º floor, room 306, Foz do Iguaçu - PR - Brasil
23        * or at e-mail address prognus@prognus.com.br.
24        *
25        * Neste arquivo são definidas as contantes a serem utilizadas pelo módulo ExpressoCalendar.
26        *
27        * @license    http://www.gnu.org/copyleft/gpl.html GPL
28        * @author     Consórcio Expresso Livre - 4Linux (www.4linux.com.br) e Prognus Software Livre (www.prognus.com.br)
29        * @version    1.0
30        * @sponsor    Caixa Econômica Federal
31        * @since      Arquivo disponibilizado na versão Expresso 2.4.0
32        */
33
34define('EVENT_ID', 1);
35define('TODO_ID', 2);
36
37define('SIGNATURE_TYPE_NORMAL', 0);
38define('SIGNATURE_TYPE_DEFAULT', 1);
39
40define('CALENDAR_TYPE_EVENT', 0);
41define('CALENDAR_TYPE_TASK_GROUP', 1);
42
43define('STATUS_CONFIRMED', 1);
44define('STATUS_ACCEPTED', 1);
45define('STATUS_TENTATIVE', 2);
46define('STATUS_DECLINED', 3);
47define('STATUS_CANCELLED', 3);
48define('STATUS_UNANSWERED', 4);
49define('STATUS_DELEGATED', 5);
50
51define('ALARM_ALERT', 1);
52define('ALARM_MAIL', 2);
53define('ALARM_SMS', 3);
54
55define('TRANSP_OPAQUE', 0);
56define('TRANSP_TRANSPARENT', 1);
57
58define('CLASS_PUBLIC', 1);
59define('CLASS_PRIVATE', 2);
60define('CLASS_CONFIDENTIAL', 3);
61
62define('ICAL_ACTION_IMPORT', 1);
63define('ICAL_ACTION_UPDATE', 2);
64define('ICAL_ACTION_DELETE', 3);
65define('ICAL_ACTION_NONE', 4);
66define('ICAL_ACTION_REPLY', 5);
67define('ICAL_ACTION_SUGGESTION', 6);
68define('ICAL_ACTION_IMPORT_REQUIRED', 7);
69define('ICAL_ACTION_ORGANIZER_UPDATE', 8);
70define('ICAL_ACTION_ORGANIZER_NONE', 9);
71define('ICAL_ACTION_IMPORT_FROM_PERMISSION', 10);
72define('ICAL_ACTION_NONE_FROM_PERMISSION', 11);
73define('ICAL_NOT_FOUND', 12);
74
75define('ATTENDEE_ACL_ORGANIZATION', 'o');
76define('ATTENDEE_ACL_WRITE', 'w');
77define('ATTENDEE_ACL_PARTICIPATION_REQUIRED', 'p');
78define('ATTENDEE_ACL_INVITE_GUESTES', 'i');
79define('ATTENDEE_ACL_READ', 'r');
80
81define('CALENDAR_PRIVATE', 0);
82define('CALENDAR_PUBLIC', 1);
83
84define('CALENDAR_ACL_WRITE', 'w');
85define('CALENDAR_ACL_READ', 'r');
86define('CALENDAR_ACL_REMOVE', 'd');
87define('CALENDAR_ACL_BUSY', 'b');
88define('CALENDAR_ACL_SHARED', 's');
89define('CALENDAR_ACL_REQUIRED', 'p');
90
91define('PRIORITY_HIGH', 1);
92define('PRIORITY_NORMAL', 2);
93define('PRIORITY_LOW', 3);
94
95define('STATUS_TODO_NEED_ACTION', 1);
96define('STATUS_TODO_IN_PROGRESS', 2);
97define('STATUS_TODO_COMPLETED', 3);
98define('STATUS_TODO_CANCELLED', 4);
99?>
Note: See TracBrowser for help on using the repository browser.