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

WP-ZFF Zend Framework Full

描述

WP-ZFF will put the Zend and ZendX libraries in the include path and will autoload the classes when they are needed. Plugin developers will not have to worry about including any files. The libraries will use the Zend autoloader so no additional including will be required for plugin developers.

Zend Framework is an open source, object-oriented web application framework implemented in PHP 5 and licensed under the New BSD License.

Note: Requires PHP 5.2.4 or later

See changelog for update. Changed the way autoloader is loaded, should be more compatible.

安裝

Note: As is the case when installing any new plugin, it’s always a good idea to backup your blog data before installing.

  1. If you are upgrading, then delete this plugin first before downloading latest version.
  2. Download plugin, extract and upload to your plugins directory, or use the plugin installer.
  3. Go to the Plugins tab and find WP-ZFF in the list and click Activate.
  4. Note: Requires PHP 5.2.4 or later
  5. Once you have activated, see below how to best use in a plugin.

example:
// plugin file
function use_zend_framework() {
if (did_action(‘load_wp_zff’) > 0) {
echo Zend_Version::getLatest();
}
}
add_action(‘wp_head’,’use_zend_framework’);

常見問題

Where can I find documentation on how to use all the libraries in Zend Framework?

You can read the online manual at Zend Framework Programmer’s Reference Guide

How do I use this in a WordPress plugin?

See the installation notes

Does this plugin include the ZendX libraries as well?

Yes

Does this plugin include the Dojo Javascript libraries as well?

No, but please give me feedback if you think you would like it for next update.

評價

There are no reviews for this plugin.

貢獻者及開發者

“WP-ZFF Zend Framework Full” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 WP-ZFF Zend Framework Full 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.10.3-1

1.10.4-1

  • Removed autoloader from typical init loading action hooks to be more compatible with existing and new plugins,
  • this should hopefully prevent any “cannot find XXX file errors”
  • Includes Zend Framework Zend and ZendX libraries version 1.10.4
  • Zend Framework Changelog 1.10.4

1.10.5-1

1.11.2-1

1.11.2-2

  • Minor update as to when plugin gets loaded in Hooks

1.11.11-1

1.11.12-1

  • Includes Zend Framework Zend and ZendX libraries version 1.11.12
  • Patching to clear vulnerability from Zend Framework(http://framework.zend.com/security/advisory/ZF2012-01)
  • Zend Framework Changelog 1.11.12