定制 icybee/module-comments 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

icybee/module-comments

Composer 安装命令:

composer require icybee/module-comments

包简介

Allows users comments to be attached to nodes.

关键字:

README 文档

README

Allows users to attach comments to nodes.

The modules provides a comment submission form with a real time comment preview and all the screens required to manage the comments and configure the module.

Prototype methods

get_comments

The get_comments prototype method returns the approved comments associated with a node.

<?php

$app->models['articles']->one->comments;

get_comments_count

The get_comments_count prototype method returns the number of approved comments associated with a node.

<?php

$app->models['articles']->one->comments_count;

Requirements

This module is designed to work with the CMS Icybee.

Installation

The recommended way to install this package is through Composer:

$ composer require icybee/module-comments

Cloning the repository

The package is available on GitHub, its repository can be cloned with the following command line:

$ git clone git://github.com/module-comments.git comments

Documentation

The documentation for the package and its dependencies can be generated with the make doc command. The documentation is generated in the docs directory using ApiGen. The package directory can later by cleaned with the make clean command.

License

This module is licensed under the New BSD License - See the LICENSE file for details.

统计信息

  • 总下载量: 119
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 1

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2012-12-29