Note: '//+ ' is a note that I added
Class Typelink
{
var $typeDir;
var $dsql;
var $TypeID; + Category ID
var $baseDir; + Site root URL
var $modDir; + Template Catalog
var $indexUrl; + Home Link Address
var $indexName; + Home Link Name
var $TypeInfos;
Other data types are not a problem when using JSON to pass data in Ajax, but if the server-side generated JSON has data of type bool, there is a small problem when parsing the client, summarized as follows:
The JSON returned by the server is:
DedeCMS core class TypeLink. class. php abstract notes. learning php is to learn from and analyze it so that you can learn more. Dede
Note: '// +' indicates additional comments added to me.
Class TypeLink
{
Var $ typeDir;
Var $ dsql;
Var $ TypeID; //
When json is used to transmit data in ajax, other data types are not a problem. However, if the JSON generated by the server contains bool data, a small problem occurs during client parsing, summary:The JSON returned by the server is:Copy codeThe
Other data types are not an issue when using JSON to pass data in Ajax, but if there is a bool type of data in the server-side generated JSON, there is a small problem when parsing to the client, summarized as follows:The JSON returned by the server
DedeCMS core class TypeLink. class. php abstract notes. learning php is to learn from and analyze it so that you can learn more. Note: '// +' indicates additional comments added to me.
Class TypeLink
{
Var $ typeDir;
Var $ dsql;
Var $ TypeID; // +
Note: '//+ ' indicates additional notes for me
Class Typelink
{
var $typeDir;
var $dsql;
var $TypeID; + Category ID
var $baseDir; + Site root URL
var $modDir; + Template Catalog
var $indexUrl; + Home Link Address
var $indexName; + Home Link Name
var
When JSON is used to transmit data in Ajax, other data types are not a problem. However, if the JSON generated by the server contains bool data, a small problem occurs during client parsing, summary:
The JSON returned by the server is:
{"Typeid": [1
1. Purpose$ CATEGORY is a two-dimensional array mainly used to save the basic configuration information of the current channel or module.
2. How to SetYou can log on to the background to go to the module or channel topic management, and modify any
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.