承接 frenzelgmbh/cm-activity 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

frenzelgmbh/cm-activity

最新稳定版本:0.2.0

Composer 安装命令:

composer require frenzelgmbh/cm-activity

包简介

activity module for Yii2

README 文档

README

This module manages all kind of activities that are assigned to a module and id.

Installation

Add in 'composer.json':

{
    "require": {
        "frenzelgmbh/cm-activity": "*" 
    }
}

Pls. ensure that you add the dateControlOptions into the params section of your config

In config '/protected/config/main.php'

<?php
return [
    // ...
    'modules' => [
        // ...
        'activity' => [
            'class' => 'net\frenzel\activity\Module',
            'userIdentityClass' => 'app\models\User',
        ]
    ],
    // ... //
    'params' => [
        // format settings for displaying each date attribute
        'dateControlDisplay' => [
            DateModule::FORMAT_DATE => 'php:d.m.Y',
            DateModule::FORMAT_TIME => 'php:H:i:s A',
            DateModule::FORMAT_DATETIME => 'php:d.m.Y H:i:s A',
        ],
        // format settings for saving each date attribute
        'dateControlSave' => [
            DateModule::FORMAT_DATE => 'php:U',
            DateModule::FORMAT_TIME => 'php:H:i:s',
            DateModule::FORMAT_DATETIME => 'php:Y-m-d H:i:s',
        ],
    ]
];

Data Structure

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-05-18