Spaces:
No application file
No application file
File size: 2,891 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 |
<?php
namespace Mautic\AssetBundle;
/**
* Events available for AssetBundle.
*/
final class AssetEvents
{
/**
* The mautic.asset_on_load event is dispatched when a public asset is downloaded, publicly viewed, or redirected to (remote).
*
* The event listener receives a
* Mautic\AssetBundle\Event\AssetLoadEvent instance.
*
* @var string
*/
public const ASSET_ON_LOAD = 'mautic.asset_on_load';
/**
* The mautic.asset_on_remote_browse event is dispatched when browsing a remote provider.
*
* The event listener receives a
* Mautic\AssetBundle\Event\RemoteAssetBrowseEvent instance.
*
* @var string
*/
public const ASSET_ON_REMOTE_BROWSE = 'mautic.asset_on_remote_browse';
/**
* The mautic.asset_on_upload event is dispatched before uploading a file.
*
* The event listener receives a
* Mautic\AssetBundle\Event\AssetEvent instance.
*
* @var string
*/
public const ASSET_ON_UPLOAD = 'mautic.asset_on_upload';
/**
* The mautic.asset_pre_save event is dispatched right before a asset is persisted.
*
* The event listener receives a
* Mautic\AssetBundle\Event\AssetEvent instance.
*
* @var string
*/
public const ASSET_PRE_SAVE = 'mautic.asset_pre_save';
/**
* The mautic.asset_post_save event is dispatched right after a asset is persisted.
*
* The event listener receives a
* Mautic\AssetBundle\Event\AssetEvent instance.
*
* @var string
*/
public const ASSET_POST_SAVE = 'mautic.asset_post_save';
/**
* The mautic.asset_pre_delete event is dispatched prior to when a asset is deleted.
*
* The event listener receives a
* Mautic\AssetBundle\Event\AssetEvent instance.
*
* @var string
*/
public const ASSET_PRE_DELETE = 'mautic.asset_pre_delete';
/**
* The mautic.asset_post_delete event is dispatched after a asset is deleted.
*
* The event listener receives a
* Mautic\AssetBundle\Event\AssetEvent instance.
*
* @var string
*/
public const ASSET_POST_DELETE = 'mautic.asset_post_delete';
/**
* The mautic.asset.on_campaign_trigger_decision event is fired when the campaign action triggers.
*
* The event listener receives a
* Mautic\CampaignBundle\Event\CampaignExecutionEvent
*
* @var string
*/
public const ON_CAMPAIGN_TRIGGER_DECISION = 'mautic.asset.on_campaign_trigger_decision';
/**
* The mautic.asset.on_download_rate_winner event is fired when there is a need to determine download rate winner.
*
* The event listener receives a
* Mautic\CoreBundles\Event\DetermineWinnerEvent
*
* @var string
*/
public const ON_DETERMINE_DOWNLOAD_RATE_WINNER = 'mautic.asset.on_download_rate_winner';
}
|