tp TouchPointWP EventsCalendar - TenthPres/TouchPoint-WP GitHub Wiki
tp\TouchPointWP\EventsCalendar
Provides an interface to bridge the gap between The Events Calendar plugin (by Modern Tribe) and the TouchPoint mobile app.
This class and its features are deprecated since it will no longer be needed when mobile v2 is retired.
- Class name: EventsCalendar
- Namespace: \tp\TouchPointWP
- This is an abstract class
- This class implements: tp\TouchPointWP\Interfaces\api, tp\TouchPointWP\Interfaces\module* Warning: this class is deprecated. This means that this class will likely be removed in a future version.
Methods
api
bool tp\TouchPointWP\Interfaces\api::api(array uri)
Handle API requests
- Visibility: public
- This method is static.
- This method is defined by tp\TouchPointWP\Interfaces\api
Arguments
- uri array - The request URI already parsed by parse_url()
Returns
- bool - False if endpoint is not found. Should print the result.
load
bool tp\TouchPointWP\Interfaces\module::load()
Loads the module and initializes the other actions.
- Visibility: public
- This method is static.
- This method is defined by tp\TouchPointWP\Interfaces\module
Returns
- bool -