Most of the methods available in the ContentManager class could be used to manage events. For more information on how to work with the
ContentManager methods, see Generic Content API Overview of Generic Content
API.
This topic will provide examples to demonstrate how to use the methods provided by the EventsManager class. Also, there are examples to show how to
manage events while at the same time applying ContentManager methods.
 |
Although EventsManager uses ContentManager class methods, which includes GetMetaData and
SetMetaData, the Events module has specific meta keys which differ from the Generic Content ones. This means that when using the two methods
for meta keys, you should use the Events meta keys. Here they are:
- Title
- Street
- City
- Country
- State
- Geomapping_Data
- Event_Start
- Event_End
- Publication_Date
- Expiration_Date
- Contact_Name
- Contact_Email
- Contact_Phone
- Contact_Cell
- Contact_Web
- Category
|
EventsManager Methods
The EventsManager should be used when events need to be retrieved for specific dates. If dates are not important, you should use the ContentManager instead.
See Also