承接 eapanel/yii2-publications 相关项目开发

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

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

eapanel/yii2-publications

最新稳定版本:0.1.3

Composer 安装命令:

composer require eapanel/yii2-publications

包简介

Managing publications for the application

README 文档

README

Добавлена возможность сохранять ЧПУ для публикаций.

Overriding models

Assume you decided to override Article class. Let’s create new Article class under your namespace. For example@app/models.

namespace app\models;

class Article extends eapanel\publications\models\Article
{
    public function init()
    {
        // custom code
        parent::init();
    }
}

In order to make yii2-publications use your class you need to configure [Dependency Injection container] in index.php file as follows:

...
Yii::$container->set(\eapanel\publications\models\Article::className(), \app\models\Article::className());

(new yii\web\Application($config))->run();
...

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-03-12