使用 Zend Framework 2 生成 PDF 文件 [英] Generate PDF file with Zend Framework 2

查看:48
本文介绍了使用 Zend Framework 2 生成 PDF 文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我现在开始学习 ZF2 并注意到 Zend 框架 2 上没有Zend_Pdf"或类似的东西...

I'm started to learn ZF2 right now and notice that there's no "Zend_Pdf" or similar on zend framework 2...

如何在此版本的框架上创建 pdf?

How can I create pdf on this version of the framework?

谁知道一个好的教程?

推荐答案

Zend Framework 2 已将许多旧的 Zend Framework 库移出主要核心并创建了模块.Zend_Pdf 是移至模块的库之一.您可以在 GitHub 上的 Zend Framework 存储库中找到它们.

Zend Framework 2 has moved many of the old Zend Framework libraries out of the main core and created modules instead. Zend_Pdf is one of the libraries that was moved to a module. You can find them all in the Zend Framework repository on GitHub.

您需要 ZendPdf 包,只需按照页面上的说明操作即可.文档还没有准备好,仅仅是因为它不是核心模块.一旦所有错误都与核心内容一起解决,文档可能会随之而来.

You need the ZendPdf package, just follow the instructions on the page. Documentation is not ready yet simply because it's not a core module. Documentation will probably follow as soon as all bugs are worked out with the core stuff.

另请参阅 Zend Framework 包存储库.

这篇关于使用 Zend Framework 2 生成 PDF 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆