forked from MichaelTaylor3d/SimpleViewAdapter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSimpleViewEnums.php
More file actions
69 lines (66 loc) · 1.79 KB
/
SimpleViewEnums.php
File metadata and controls
69 lines (66 loc) · 1.79 KB
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
<?php
//
// SimpleViewEnums.php
//
// Author:
// Michael Taylor www.michaeltaylor3d.com/contact
//
// Copyright (c) 2013 Ayers Saint Gross
// Website: www.asg-architects.com
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
class FilterType
{
//Filter Type Enums
const EQUAL_TO = 'EQUAL TO';
const NOT_EQUAL_TO = 'NOT EQUAL TO';
const GREATER_THAN = 'GREATER THAN';
const GREATER_THAN_OR_EQUAL_TO = 'GREATER THAN OR EQUAL TO';
const LESS_THAN = 'LESS THAN';
const LESS_THAN_OR_EQUAL_TO = 'LESS THAN OR EQUAL TO';
const LIKE = 'LIKE';
const STARTS_WITH = 'STARTS WITH';
const ENDS_WITH = 'ENDS WITH';
const ANY = 'ANY';
const ALL = 'ALL';
const NONE = 'NONE';
}
class UDFTypeID
{
const currency = 1;
const data = 2;
const email = 3;
const number = 4;
const percent = 5;
const phone = 6;
const dropdown = 7;
const text = 8;
const textArea = 9;
const url = 10;
const yesNo = 11;
const multiSelect = 12;
const ccNumber = 13;
const ccExpiration = 14;
const fileUpload = 15;
}
class HitTypes
{
const listings = 1;
const categories = 2;
const subCategories = 3;
const listingWebSite = 4;
const coupons = 5;
const locations = 6;
const reservations = 7;
}