定制 thomasdcodes/list-view-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

thomasdcodes/list-view-bundle

最新稳定版本:0.7.1

Composer 安装命令:

composer require thomasdcodes/list-view-bundle

包简介

A lightweight collection of entities for storing data of a listview.

README 文档

README

Description

This Bundle provides an easy-to-use set of different rich models packed into one wrapper ListControl to hold all information for a list view.

Its reason of life is only to hold the information and get richer at runtime of the app. For example, after init ListControl the Paginator in it doesn't know how many search results are found. You have the set the number of search results after querying your repo with the help of SearchTermOrganizer or FilterOrganizer, because the information of these models influence the number of search results.

Install

composer require thomasdcodes/list-view-bundle

If you're using Symfony Flex, the Bundle should be registered in your config/bundles.php

Quick start

With the bundle comes a factory to create the ListControl Model. There is only one static method of creating this model, for example in a controller:

use Tdc\ListViewBundle\Factory;

public function __invoke(Request $request): JsonResponse
{
    $listControl = ListControlFactory::createFromRequest($request);
}

Content

The ListViewBundle contains the following models, which are all part of the container class ListControl:

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-01-10