- Moodle 3.x Developer's Guide
- Ian Wild
- 135字
- 2021-07-02 21:34:41
String API
For a detailed explanation of the String API, visit https://docs.moodle.org/dev/String_API. The String API documentation reveals that the most effective method of having Moodle display two language strings on the screen at the same time is to author our own string manager, within which we have implemented a custom get_string() function. Luckily, the reporter of ticket MDL-49361 has already created an example, Moodle plugin moodle-local_stringman, and made it available through GitHub (refer to the preceding section, Source control discipline):

You will see that the README notes for the moodle-local_stringman plugin stress that the code provided should be used for illustration purposes only. So, we will need to download a copy of the source and create our own GitHub repository to work on:

That done, it's time to work on our solution.
- 編程的修煉
- WSO2 Developer’s Guide
- 鋒利的SQL(第2版)
- Java EE 7 Development with NetBeans 8
- Learning SciPy for Numerical and Scientific Computing(Second Edition)
- RISC-V體系結(jié)構(gòu)編程與實(shí)踐(第2版)
- 西門子S7-200 SMART PLC編程從入門到實(shí)踐
- Mobile Device Exploitation Cookbook
- Building Wireless Sensor Networks Using Arduino
- Mastering Android Studio 3
- SEO教程:搜索引擎優(yōu)化入門與進(jìn)階(第3版)
- 你真的會(huì)寫代碼嗎
- 虛擬現(xiàn)實(shí)建模與編程(SketchUp+OSG開發(fā)技術(shù))
- C語(yǔ)言王者歸來(lái)
- LibGDX Game Development By Example