plesk/yii2-pjax 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

plesk/yii2-pjax

Composer 安装命令:

composer require plesk/yii2-pjax

包简介

Plesk extension for Yii2 framework to extend it's PJAX functions.

README 文档

README

Installation

The preferred way to install this extension is through composer.

  • Add the following lines to your composer.json file:

    "repositories": [
        {
            "type": "vcs",
            "url":  "git@github.com:plesk/yii2-pjax.git"
        }
    ]
  • Run composer require "plesk/yii2-pjax:^1.0.0"

API

Setup the component in your web.php config:

[
    'components' => [
        'pjax' => [
            'class' => 'plesk\yii2pjax\Component',
        ],
    ],
]

Convert PJAX config from Yii2 widget format to JS format.

$this->registerJs(
    '$("#plesk-pjax-search-form").on("pjax:success", function() {
        $.pjax.reload(' . Json::encode(Yii::$app->pjax->pjaxConvertConfigWidgetToJs($gridPjaxOptions)) . ');
    });'
);

Exceptions

- plesk\yii2pjax\exceptions\Exception

    All exceptions thrown by the extension, extend this exception.

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 22
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2020-04-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固