designs2/dc-general
最新稳定版本:2.0.0-beta28
Composer 安装命令:
composer require designs2/dc-general
包简介
Universal data container for Contao
README 文档
README
Universal data container for Contao.
The present version here is about to become version 2.0.0 and has since undergone major refactoring, splitting up huge code bloats and introducing even more abstraction and therefore may be considered a total rewrite.
We hope that ultimatively this driver will become the de facto standard driver for Contao extensions in the future, once proven to be stable enough.
How to use
Simply declare an DCA as usual but put "General" instead of "Table" for the 'config/dataContainer' part. This will make DC_General to be used.
There are some notable changes in compatibility considering DC_Table:
- DC_General does NOT support magic properties but provides setter and getter for almost anything you might desire.
- There is NO activeRecord available as DC_General uses it's own kind of data Models internally.
- The system is totally event driven and relevant information (like the model in scope) is attached to the events.
统计信息
- 总下载量: 58
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0
- 更新时间: 2015-10-29