os2display/campaign-bundle

此包的最新版本(2.1.0)没有可用的许可证信息。

Os2Display 活动

安装: 428

依赖项: 0

建议者: 0

安全性: 0

星星: 0

关注者: 4

分支: 1

开放性问题: 0

类型:symfony-bundle

2.1.0 2019-05-20 11:27 UTC

This package is auto-updated.

Last update: 2024-09-20 23:39:44 UTC


README

通过活动扩展 os2display。

活动提供了一种控制屏幕上内容的新功能。

使用活动,可以在给定时间段内通过给定频道控制一组屏幕。在此时间段结束后,屏幕将返回常规内容。

安装

将 git 仓库添加到 composer.json 中的 "repositories"。

"repositories": {
    "os2display/campaign-bundle": {
      "type": "vcs",
      "url": "https://github.com/os2display/campaign-bundle"
    },
    ...
}

使用 composer 需求此包。

composer require os2display/campaign-bundle

AppKernel.php 中启用此包,通过将 Os2DisplayCampaignBundle 添加到 $bundles。

注意!这应该在添加 Os2Display/CoreBundle 之后完成,因为 MiddlewareCommunications.php 从 CoreBundle 中被 CampaignBundle 覆盖。

new Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle(),
new Os2Display\CampaignBundle\Os2DisplayCampaignBundle()

在您的配置中启用 timestampableblameable

stof_doctrine_extensions:
    orm:
        default:
            timestampable: true
            blameable: true