icybee / module-comments
允许用户将评论附加到节点。
3.0.x-dev
2016-01-23 20:16 UTC
Requires
- php: ^5.5|^7.0
- brickrouge/css-class-names: ^2.0
- icanboogie/module-installer: ^1.2
- icybee/module-nodes: ^3.0
Requires (Dev)
- icybee/core: ^3.0
This package is auto-updated.
Last update: 2024-09-20 03:00:11 UTC
README
允许用户将评论附加到节点。
该模块提供了一个带有实时评论预览和所有管理评论和配置模块所需的屏幕的评论提交表单。
原型方法
get_comments
get_comments
原型方法返回与节点关联的已批准评论。
<?php $app->models['articles']->one->comments;
get_comments_count
get_comments_count
原型方法返回与节点关联的已批准评论的数量。
<?php $app->models['articles']->one->comments_count;
要求
本模块旨在与CMSIcybee一起使用。
安装
推荐通过Composer安装此包。
$ composer require icybee/module-comments
克隆仓库
该软件包可在GitHub上找到,其仓库可以使用以下命令行克隆:
$ git clone git://github.com/module-comments.git comments
文档
可以使用make doc
命令生成该软件包及其依赖项的文档。文档使用ApiGen在docs
目录中生成。可以使用make clean
命令清理软件包目录。
许可证
本模块采用新BSD许可证 - 有关详细信息,请参阅LICENSE文件。