eye4web/eye4web-zfc-user-warnings

为您的用户添加警告功能

0.0.4 2017-08-15 18:23 UTC

This package is not auto-updated.

Last update: 2024-09-14 16:03:17 UTC


README

Build Status Latest Stable Version Latest Unstable Version Code Climate Test Coverage Total Downloads License

简介

本模块将允许您为用户添加警告。

安装

使用composer

  1. 运行以下composer命令

    php composer.phar require eye4web/eye4web-zfc-user-warnings
  2. 在您的 application.config.php 文件中启用它。

    <?php
    return array(
        'modules' => array(
            // ...
            'Eye4web\ZfcUser\Warnings'
        ),
        // ...
    );

在X次警告后禁止用户

如果您想在用户被警告X次后禁止他们,可以使用Eye4webZfcUserWarningsBan