diff options
Diffstat (limited to 'www/crm/wp-content/plugins/civicrm/civicrm/ext/api4/Civi/Api4/Event/Events.php')
-rw-r--r-- | www/crm/wp-content/plugins/civicrm/civicrm/ext/api4/Civi/Api4/Event/Events.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/www/crm/wp-content/plugins/civicrm/civicrm/ext/api4/Civi/Api4/Event/Events.php b/www/crm/wp-content/plugins/civicrm/civicrm/ext/api4/Civi/Api4/Event/Events.php new file mode 100644 index 00000000..0bf4a993 --- /dev/null +++ b/www/crm/wp-content/plugins/civicrm/civicrm/ext/api4/Civi/Api4/Event/Events.php @@ -0,0 +1,25 @@ +<?php + +namespace Civi\Api4\Event; + +class Events { + + /** + * Prepare the specification for a request. Fired from within a request to + * get fields. + * + * @see GetSpecEvent + */ + const GET_SPEC = 'civi.api.get_spec'; + + /** + * Build the database schema, allow adding of custom joins and tables. + */ + const SCHEMA_MAP_BUILD = 'api.schema_map.build'; + + /** + * Alter query results of APIv4 select query + */ + const POST_SELECT_QUERY = 'api.select_query.post'; + +} |