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.
If you are upgrading, then delete this plugin first before downloading latest version.
Download plugin, extract and upload to your plugins directory, or use the plugin installer.
Go to the Plugins tab and find WP-ZFF in the list and click Activate.
Note: Requires PHP 5.2.4 or later
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');
升级注意事项:
1.10.3-1
No upgrade, original release.
1.10.4-1
Unpack files.
1.10.5-1
Unpack files.
1.11.2-1
Delete existing version if already installed before installing this version.
1.11.2-2
Unpack files.
1.11.11-1
Unpack files.
1.11.12-1
Unpack files.
更新日志:
1.10.3-1
Original Release
Includes Zend Framework Zend and ZendX libraries version 1.10.3