devphp-pmro/listing
Composer 安装命令:
composer require devphp-pmro/listing
包简介
data listing in tag select field, without formatting
README 文档
README
#data listing in tag select field, without formatting
To install the library, run the following command:
composer require devphp-pmro/listing
To use the library, simply require the composer to autoload, invoke the class and call the method:
<?php open the Config.php file in the source folder and enter the credentials for connecting to the database //define the connection settings to the database for backup define("CONFIG",["host" => "host, "data_base" => "data_base", "user" => "user", "password" => "password", ); default port 3306 require __DIR__. '/vendor-dir/autoload.php'; use Source\_App\Listing; $selectAll = (new Listing())->selectAll("table","optionValue","visible"); $orderBy = (new Listing())->orderBy("table","optionValue","visible","order","desc"); // type is optional (asc or desc) $groupBy = (new Listing())->groupBy("table","optionValue","visible","groupBy"); // type is optional (asc or desc) $groupOrderBy = (new Listing())->groupOrderBy("table","optionValue","visible","orderBy","groupBy","type"); // type is optional (asc or desc)
Developers
- [Leonardo] - Developer of this library!
- [devphp] - Official website: https://devphp-pmro.github.io/
License
MIT
统计信息
- 总下载量: 24
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-10-13