這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

wp-IniFileLoad

外掛說明

wp-IniFileLoad is a simple plug-in.
This plug in offers functions to load necessary common data from IniFile in your WordPress.
The result is returned an associative array for.

IniFile Format

  1. The structure of the ini file is the same as the php.ini’s.
  2. The result is returned an associative array for.(eg. sample01.ini)
  3. Section “data” and “function” are defined as a special section.(eg. sample03.ini)
  4. Section “data” is put in a “data” key.(eg. sample01.ini)
  5. You can put a space between two names in a section name (exclude “function”). When you wrote the section name, it is parsed to a double associative arrays.(eg. sample02.ini)
  6. When there is a “function” section, with a lambda function defined with a value, the result is converted.(eg. sample03.ini)
  7. The section except “data” and “function” is put in an “option” key.(eg. sample01.ini)

History

ver. 1.0

2008.02.23
first version.

ver. 1.1

2008.03.12
INI data came to have cache. And I added function wp_clear_inidata and wp_reload_inifile.

ver. 1.1.1

2008.04.11
I did not limit a double associative array to a “data” section.

安裝方式

  1. Download wp-IniFileLoad-1.1.1.zip
  2. Unpack/upload the “wp-IniFileLoad.php” into “wp-content/plugins/”.
  3. Activate the plugin from the Admin interface; “Plugins”.
  4. Upload your IniFile in your theme or “wp-content/themes/common/”.
  5. You load it as arrangement data in function “wp_load_inifile(the-inifile-name)”.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈wp-IniFileLoad〉的開發相關工作。

參與者

將〈wp-IniFileLoad〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄