nitra/e-commerce-site-buyerbundle

此包已被废弃,不再维护。未建议替代包。

买家套餐

维护者

详细信息

bitbucket.org/nitra/nep-site-buyer

安装: 427

依赖项: 0

建议者: 0

安全: 0

类型:symfony-bundle

v1.0 2014-09-09 09:25 UTC

This package is auto-updated.

Last update: 2018-04-27 10:39:20 UTC


README

描述

买家套餐 - 包含买家自文档,个人控制台控制器和用于更新买家最后访问网站日期的类(从商店套餐中的监听器自动调用)。

连接

要将此模块连接到项目,需要在项目中执行以下操作

  • composer.json:
{
    ...   
    "require": {
        ...
        "nitra/e-commerce-site-buyerbundle": "dev-master",
        ...
    }
    ...
}
  • app/AppKernel.php:
<?php

    //...
use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\Config\Loader\LoaderInterface;

class AppKernel extends Kernel
{
    //...
    public function registerBundles()
    {
        //...
        $bundles = array(
            //...
            new Nitra\BuyerBundle\NitraBuyerBundle(),
            //...
        );
        //...
        return $bundles;
    }
    //...
}

配置

parameters.yml

  • 买家最后访问日期更新频率     * user_activity_update_interval: 1 - 默认为1分钟,如果为0则不更新