Spaces:
No application file
No application file
File size: 3,915 Bytes
d2897cd |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 |
<?php
namespace Mautic\ReportBundle;
/**
* Events available for ReportBundle.
*/
final class ReportEvents
{
/**
* The mautic.report_pre_save event is dispatched right before a report is persisted.
*
* The event listener receives a Mautic\ReportBundle\Event\ReportEvent instance.
*
* @var string
*/
public const REPORT_PRE_SAVE = 'mautic.report_pre_save';
/**
* The mautic.report_post_save event is dispatched right after a report is persisted.
*
* The event listener receives a Mautic\ReportBundle\Event\ReportEvent instance.
*
* @var string
*/
public const REPORT_POST_SAVE = 'mautic.report_post_save';
/**
* The mautic.report_pre_delete event is dispatched prior to when a report is deleted.
*
* The event listener receives a Mautic\ReportBundle\Event\ReportEvent instance.
*
* @var string
*/
public const REPORT_PRE_DELETE = 'mautic.report_pre_delete';
/**
* The mautic.report_post_delete event is dispatched after a report is deleted.
*
* The event listener receives a Mautic\ReportBundle\Event\ReportEvent instance.
*
* @var string
*/
public const REPORT_POST_DELETE = 'mautic.report_post_delete';
/**
* The mautic.report_on_build event is dispatched before displaying the report builder form to allow
* bundles to specify report sources and columns.
*
* The event listener receives a Mautic\ReportBundle\Event\ReportBuilderEvent instance.
*
* @var string
*/
public const REPORT_ON_BUILD = 'mautic.report_on_build';
/**
* The mautic.report_on_generate event is dispatched when generating a report to build the base query.
*
* The event listener receives a Mautic\ReportBundle\Event\ReportGeneratorEvent instance.
*
* @var string
*/
public const REPORT_ON_GENERATE = 'mautic.report_on_generate';
/**
* The mautic.report_query_pre_execute event is dispatched to allow a plugin to alter the query before execution.
*
* The event listener receives a Mautic\ReportBundle\Event\ReportQueryEvent instance.
*
* @var string
*/
public const REPORT_QUERY_PRE_EXECUTE = 'mautic.report_query_pre_execute';
/**
* The mautic.report_on_display event is dispatched when displaying a report.
*
* The event listener receives a Mautic\ReportBundle\Event\ReportDataEvent instance.
*
* @var string
*/
public const REPORT_ON_DISPLAY = 'mautic.report_on_display';
/**
* The mautic.report_on_graph_generate event is dispatched to generate a graph data.
*
* The event listener receives a Mautic\ReportBundle\Event\ReportGraphEvent instance.
*
* @var string
*/
public const REPORT_ON_GRAPH_GENERATE = 'mautic.report_on_graph_generate';
/**
* The mautic.report_schedule_send event is dispatched to send an exported report to a user.
*
* The event listener receives a Mautic\ReportBundle\Event\ReportScheduleSendEvent instance.
*
* @var string
*/
public const REPORT_SCHEDULE_SEND = 'mautic.report_schedule_send';
/**
* The mautic.report_on_column_collect event is dispatched during the report building to allow
* bundles to add the columns of mapped objects.
*
* The event listener receives a Mautic\ReportBundle\Event\ColumnCollectEvent instance.
*
* @var string
*/
public const REPORT_ON_COLUMN_COLLECT = 'mautic.report_on_column_collect';
/**
* The mautic.report_cleanup event is dispatched to cleanup report files after they had been sent via email.
*
* The event listener receives a Mautic\ReportBundle\Event\PermanentReportFileCreated instance.
*
* @var string
*/
public const REPORT_PERMANENT_FILE_CREATED = 'mautic.report_permanent_file_created';
}
|