承接 vladzimir/phpeasyui 相关项目开发

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

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

vladzimir/phpeasyui

最新稳定版本:v1.4.2

Composer 安装命令:

composer require vladzimir/phpeasyui

包简介

php wrapper EasyUI without dependency

README 文档

README

php wrapper for EasyUI without dependency

Installation

Just copy all files into F3's Easyui folder. Done.

If you use composer, you can add this package by running composer require vladzimir/phpeasyui

Quick Start

use Easyui\Easyui;

echo Easyui::dataGrid('test')->
pMethod('get')->
eOnSelect(new Js("function(){ //function code }"))->
append(
    Easyui::dataGrid()->
    mGetPager()->append(
        Easyui::pagination()->
        eOnChangePageSize(
            new Js(
             <<<JS
    function (pageSize) { 
        $.cookie('pageSize',pageSize); 
    }
JS        
            )            
        )
    )
);

echo Easyui::messager()->
    mConfirm(
        Easyui::messagerConfirm()->
        title('Title')
    );

All property start with letter p.

All event start with letter e.

All method start with letter m.

pMethodName()
eEventName()
mMethodName()

Output

$("#test").datagrid({
    "method": "get",
    "onSelect": function () { //function code }
}).datagrid('getPager').pagination({
    "onChangePageSize": function (pageSize) { 
        $.cookie('pageSize',pageSize); 
    }
});
$.messager.confirm({
    "title": "Title"
});

If you need to install components not as a selector, turn second variable to false

Easyui::dataGrid('test', false)

Output

$(test).datagrid();

New in v1.4

Easyui::dataGrid('test')->asSetVar();
Easyui::dataGrid('test')->asUseVar();

Output

var id_test = $('test').datagrid();
id_test.datagrid();

Documentation

See in code for components or official docs EasyUI https://www.jeasyui.com/documentation/index.php

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2025-01-26