Destoon system constants and variables
By iixiaowei, 113 read, 0 comments, favorites, Edit
Constant |
Description |
Remarks |
Dt_root |
Physical site path |
|
Dt_path |
Site homepage URL |
|
Dt_skin |
Style directory URL |
|
Dt_admin |
In management background? |
|
Dt_domain |
Cookie Scope |
|
Dt_lang |
Site Language |
|
Dt_key |
Security Key |
|
Dt_charset |
Character encoding |
|
Dt_cache |
Cache directory physical path |
|
Dt_version |
System Version |
|
Dt_release |
Update Time |
|
VIP |
VIP name |
|
Variable |
Description |
Remarks |
$ Dt_time |
Current Time |
UNIX Timestamp |
$ Dt_ip |
Current IP Address |
|
$ Dt_url |
Current URL |
|
$ Dt_pre |
Data table prefix |
|
$ DB |
Database Operation object |
|
$ DC |
Cache operation object |
|
$ Dt |
Website settings |
Array |
$ Ext |
Extended Function Module Settings |
Array |
$ Mod |
Current Module Settings |
Array, which only exists inside the module |
$ Module |
System module information |
Array |
$ Forward |
Source Page |
|
$ Page |
Current page number |
|
$ Moduleid |
Module ID |
|
$ Catid |
CATEGORY ID |
|
$ Cat |
$ Catid all attributes |
Array |
$ Areaid |
Region ID |
|
$ Are |
$ Areaid all attributes |
Array |
$ Itemid |
Information ID |
|
$ Cityid |
Substation ID |
|
$ Kw |
Search keywords |
|
$ _ Userid |
Member ID of the currently logged-on member |
0 is for tourists |
$ _ Username |
Member name of the currently logged-on member |
|
$ _ Truename |
Name of the currently logged-on member |
|
$ _ Company |
Company Name of the currently logged-on member |
|
$ _ Money |
Funds of currently logged-on Members |
|
$ _ Credit |
Points of the currently logged-on member |
|
$ _ SMS |
SMS of the currently logged-on member |
|
$ _ Message |
Insite email of the currently logged-on member |
|
$ _ Chat |
New chat for currently logged-on Members |
|
$ _ Groupid |
Member Group of the currently logged-on member |
|
$ Mg |
Member group permissions for currently logged on Members |
|
Category: destoon