没有合适的资源?快使用搜索试试~ 我知道了~
rating-bundle:允许评分元素
共18个文件
php:12个
xml:2个
license:1个
需积分: 5 0 下载量 9 浏览量
2021-05-25
13:38:20
上传
评论
收藏 12KB ZIP 举报
温馨提示
RatingBundle 此捆绑包使您可以在网页中包括对任何类型元素的评级。 正在建设中,因此请不要使用此捆绑包:) 安装 将依赖项添加到您的composer.json : composer require bitheater/rating-bundle 在您的AppKernel.php文件中引导捆绑包: new Bitheater\RatingBundle\BitheaterRatingBundle() 配置捆绑软件(目前,我们仅支持MySQL,但支持其他数据存储应该很简单!): bitheater_rating : driver : orm model_class : MyBundle\Entity\Vote 创建投票类,将基本投票扩展为一个: use Bitheater \ RatingBundle \ Model \ Vote as RatingVo
资源推荐
资源详情
资源评论
收起资源包目录
rating-bundle-master.zip (18个子文件)
rating-bundle-master
.gitignore 35B
Manager
Exception
AlreadyVotedException.php 136B
DefaultRatingManager.php 2KB
RatingManager.php 1KB
Event
VoteAddedEvent.php 458B
DoctrineVoteSubscriber.php 917B
Resources
config
services
orm.xml 1KB
doctrine
model
Vote.orm.xml 903B
LICENSE 1KB
composer.json 584B
Model
Vote.php 1KB
VoteEvents.php 110B
BitheaterRatingBundle.php 1008B
README.md 1KB
Repository
VoteRepository.php 333B
Doctrine
ORMRepository.php 1KB
DependencyInjection
Configuration.php 1KB
BitheaterRatingExtension.php 1KB
共 18 条
- 1
资源评论
PeterLee龍羿學長
- 粉丝: 29
- 资源: 4633
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功