-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTokens.inc.php
95 lines (80 loc) · 2.57 KB
/
Tokens.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
95
<?php
/*=======================================================================================
* *
* Tokens.inc.php *
* *
*======================================================================================*/
/**
* Tokens.
*
* This file contains the common tokens used in this library.
*
* @author Milko A. Škofič <[email protected]>
* @version 1.00 07/02/2014
*/
/*=======================================================================================
* TOKENS *
*======================================================================================*/
/**
* Tag prefix token.
*
* This value defines the token that prefixes tag serial identifiers.
*/
define( "kTOKEN_TAG_PREFIX", '@' ); // Tag prefix token.
/**
* User database name prefix.
*
* This value represents the user database name prefix.
*/
define( "kTOKEN_UDB_PREFIX", 'UDB' ); // User database name prefix.
/**
* Domain separator token.
*
* This value defines the token that separates the object domain from other elements.
*/
define( "kTOKEN_DOMAIN_SEPARATOR", '://' ); // Domain separator token.
/**
* Class separator token.
*
* This value defines the token that separates the object class from other elements.
*/
define( "kTOKEN_CLASS_SEPARATOR", '::' ); // Class separator token.
/**
* Namespace separator token.
*
* This value defines the token used to separate namespaces from codes.
*/
define( "kTOKEN_NAMESPACE_SEPARATOR", ':' ); // Namespace separator token.
/**
* Sub-offset separator token.
*
* This value defines the token used to indicate sub-offsets.
*/
define( "kTOKEN_OFFSET_SEPARATOR", '.' ); // Offset separator token.
/**
* Index separator token.
*
* This value defines the token used to separate index elements.
*/
define( "kTOKEN_INDEX_SEPARATOR", '/' ); // Index separator token.
/**
* Namespace opening token.
*
* This token is used to enclose namespaces or parent identification when merged with other
* identification sections, this value is used as a prefix.
*/
define( "kTOKEN_INDEX_OPEN_TAG", '{' ); // Namespace start tag.
/**
* Namespace closing token.
*
* This token is used to enclose namespaces or parent identification when merged with other
* identification sections, this value is used as a postfix.
*/
define( "kTOKEN_INDEX_CLOSE_TAG", '}' ); // Namespace end tag.
/**
* Identification end token.
*
* This token should close all identification strings.
*/
define( "kTOKEN_END_TAG", ';' ); // Identification end tag.
?>