wyanez / zf2-doctrine-base
此包已被弃用,不再维护。未建议替代包。
Zf2 + Doctrine 基类,视图助手和工具模块
0.3.0
2014-12-14 10:49 UTC
Requires
- php: >=5.4
- zendframework/zendframework: 2.3.*
Suggests
- doctrine/doctrine-module: Doctrine Module Base
- doctrine/doctrine-orm-module: Doctrine ORM Module
- firephp/firephp-core: Firefox Debug Tool integrate with Firebug
- zendframework/zend-developer-tools: Zend Developer Toolbar
This package is not auto-updated.
Last update: 2023-09-30 10:22:22 UTC
README
Zf2 + Doctrine 基类,视图助手和工具模块
安装
使用composer安装Zf2DoctrineBase
$ php composer.phar require wyanez/zf2-doctrine-base:dev-master
然后在config/application.config.php中将'Zf2DoctrineBase'添加到模块列表中
内容
- ZF2DoctrineBase/Controller
- BaseDoctrineController:基于Doctrine的基类控制器。
- BaseCrudDoctrineController:基于Doctrine的CRUD基类控制器。
- ZF2DoctrineBase/Form
- BaseDoctrineForm:基于Doctrine的基类表单。
- MyFormHelper:生成表单元素的函数。
- ZF2DoctrineBase/View/Helper:
- renderFlashMessenger
- renderFormElement
- renderErrorMessages
- renderLinkBack
- renderLinkNew
- renderLinkEdit
- renderLinkDelete
- renderButtonDelete
- MyFormCollection
- renderTableHeaderList