-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathOperators.inc.php
94 lines (78 loc) · 2.46 KB
/
Operators.inc.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
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
<?php
/*=======================================================================================
* *
* Operators.inc.php *
* *
*======================================================================================*/
/**
* Match operators.
*
* This file contains the enumerated set definition of all standard match operators.
*
* @author Milko A. Škofič <[email protected]>
* @version 1.00 08/05/2014
*/
/*=======================================================================================
* STRING OPERATORS *
*======================================================================================*/
/**
* Equal.
*
* This enumeration represents equality.
*/
define( "kOPERATOR_EQUAL", '$EQ' ); // Equals.
/**
* Not equal.
*
* This enumeration represents inequality.
*/
define( "kOPERATOR_EQUAL_NOT", '$NE' ); // Not equal.
/**
* Prefix.
*
* This enumeration represents prefix comparaison: <i>starts with</i> (for strings).
*/
define( "kOPERATOR_PREFIX", '$PX' ); // Starts with.
/**
* Contains.
*
* This enumeration represents content comparaison: <i>contains</i> (for strings).
*/
define( "kOPERATOR_CONTAINS", '$CX' ); // Contains.
/**
* Suffix.
*
* This enumeration represents suffix comparaison: <i>ends with</i> (for strings).
*/
define( "kOPERATOR_SUFFIX", '$SX' ); // Ends with.
/**
* Regular expression.
*
* This enumeration represents a regular expression (for strings).
*/
define( "kOPERATOR_REGEX", '$RE' ); // Regular expression.
/*=======================================================================================
* RANGE OPERATORS *
*======================================================================================*/
/**
* Range inclusive.
*
* This enumeration represents a range including limits.
*/
define( "kOPERATOR_IRANGE", '$IRG' ); // Range inclusive.
/**
* Range exclusive.
*
* This enumeration represents a range excluding limits.
*/
define( "kOPERATOR_ERANGE", '$ERG' ); // Range exclusive.
/*=======================================================================================
* MODIFIERS *
*======================================================================================*/
/**
* Case and accent insensitive.
*
* This enumeration indicates a case and accent insensitive match.
*/
define( "kOPERATOR_NOCASE", '$i' ); // Case insensitive.
?>