[13] | 1 | <?php
|
---|
| 2 |
|
---|
| 3 | // Include type definitions
|
---|
[29] | 4 | include('types/Base.php');
|
---|
[13] | 5 | include('types/Enumeration.php');
|
---|
| 6 | include('types/Boolean.php');
|
---|
| 7 | include('types/Integer.php');
|
---|
| 8 | include('types/String.php');
|
---|
| 9 | include('types/PointerOneToMany.php');
|
---|
| 10 | include('types/PointerOneToOne.php');
|
---|
| 11 | include('types/Date.php');
|
---|
[14] | 12 | include('types/DateTime.php');
|
---|
[13] | 13 | include('types/Password.php');
|
---|
| 14 | include('types/Float.php');
|
---|
| 15 | include('types/Hyperlink.php');
|
---|
| 16 | include('types/Hidden.php');
|
---|
[19] | 17 | include('types/File/File.php');
|
---|
[17] | 18 | include('types/GPS.php');
|
---|
[26] | 19 | include('types/IPv4Address.php');
|
---|
[38] | 20 | include('types/Color.php');
|
---|
| 21 | include('types/Text.php');
|
---|
[13] | 22 |
|
---|
[36] | 23 | define('TypeIntegerId', 1);
|
---|
[23] | 24 | define('TypeBooleanId', 4);
|
---|
| 25 | define('TypeStringId', 3);
|
---|
| 26 | define('TypeDateId', 2);
|
---|
[24] | 27 | define('TypePointerOneToOneId', 12);
|
---|
| 28 | define('TypePointerOneToManyId', 13);
|
---|
[23] | 29 | define('TypePasswordId', 15);
|
---|
| 30 | define('TypeFloatId', 16);
|
---|
| 31 | define('TypeHiddenId', 20);
|
---|
| 32 | define('TypePointerToUserId', 37);
|
---|
[38] | 33 | define('TypeColorId', 66);
|
---|
[21] | 34 |
|
---|
[36] | 35 | ?>
|
---|