-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathYiiImageDriverEvents.php
59 lines (49 loc) · 1.43 KB
/
YiiImageDriverEvents.php
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
<?php
/*
* This file is part of the YiiImage package.
*
* (c) Igor Golovanov <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* Events for the image driver.
*
* @author Igor Golovanov <[email protected]>
*/
class YiiImageDriverEvents extends CEnumerable
{
/**
* Name of the event, which will be called before the create a new image.
*/
const onBeforeCreate = 'onBeforeCreate';
/**
* Name of the event, which will be called before the read image from string.
*/
const onBeforeRead = 'onBeforeRead';
/**
* Name of the event, which will be called before the open image file.
*/
const onBeforeOpen = 'onBeforeOpen';
/**
* Name of the event, which will be called before the load image.
*/
const onBeforeLoad = 'onBeforeLoad';
/**
* Name of the event, which will be called after the create a new image.
*/
const onAfterCreate = 'onAfterCreate';
/**
* Name of the event, which will be called after the read image from string.
*/
const onAfterRead = 'onAfterRead';
/**
* Name of the event, which will be called after the open image file.
*/
const onAfterOpen = 'onAfterOpen';
/**
* Name of the event, which will be called after the load image.
*/
const onAfterLoad = 'onAfterLoad';
}