In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This issue of the content of the editor will bring you about the Imperial cms model data table commonly used secondary development functions, the article is rich in content and professional analysis and description for you, after reading this article, I hope you can get something.
Caching the data stored in class_r requires:
Tbname: Datasheet name
Modid:1
Of course, there are other fields that we don't need for the time being, and we'll take out the fields to explain what we need later.
ReturnSqlTextF ($mid,1) / / returns all the field names in the model table, as well as the fields in the main table. A string shaped like id,title,std,fstd, placed after select.
Mid stands for the model id number, which is available in the classification cache, class_ r [KaTex parse error: Expected group after'_'at position 162:... The name of the main table is' ecms_ tables' .tbname
The name of the secondary table is: 'ecms_'.KaTeX parse error: Expected group after' _'at position 14: tbname.'_data_ tables' .add ['stb']
Then array_merge () / merge the table name fields through the data read out by the two tables, and then output the corresponding data.
The specific code is as follows:
The returned content is as follows:
Undefined
The above are the functions commonly used in the secondary development of the Imperial cms model data table shared by the editor. If you happen to have similar doubts, please refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.