]>
Commit | Line | Data |
---|---|---|
6527f429 DM |
1 | //@define Ext.calendar.data.CalendarMappings\r |
2 | \r | |
3 | /**\r | |
4 | * @class Ext.calendar.data.CalendarMappings\r | |
5 | * A simple object that provides the field definitions for Calendar records so that they can be easily overridden.\r | |
6 | *\r | |
7 | * To ensure the proper definition of Ext.calendar.data.EventModel the override should be\r | |
8 | * written like this:\r | |
9 | *\r | |
10 | * Ext.define('MyApp.data.CalendarMappings', {\r | |
11 | * override: 'Ext.calendar.data.CalendarMappings'\r | |
12 | * },\r | |
13 | * function () {\r | |
14 | * // Update "this" (this === Ext.calendar.data.CalendarMappings)\r | |
15 | * });\r | |
16 | */\r | |
17 | Ext.ns('Ext.calendar.data');\r | |
18 | \r | |
19 | Ext.calendar.data.CalendarMappings = {\r | |
20 | CalendarId: {\r | |
21 | name: 'CalendarId',\r | |
22 | mapping: 'id',\r | |
23 | type: 'int'\r | |
24 | },\r | |
25 | Title: {\r | |
26 | name: 'Title',\r | |
27 | mapping: 'title',\r | |
28 | type: 'string'\r | |
29 | },\r | |
30 | Description: {\r | |
31 | name: 'Description', \r | |
32 | mapping: 'desc', \r | |
33 | type: 'string' \r | |
34 | },\r | |
35 | ColorId: {\r | |
36 | name: 'ColorId',\r | |
37 | mapping: 'color',\r | |
38 | type: 'int'\r | |
39 | },\r | |
40 | IsHidden: {\r | |
41 | name: 'IsHidden',\r | |
42 | mapping: 'hidden',\r | |
43 | type: 'boolean'\r | |
44 | }\r | |
45 | };\r |