意大利设计/alessandrodesign / formandtablecreator
表单和表格创建器
1.0.1-alpha.3
2020-05-06 22:17 UTC
Requires
- php: ^7.3
- ext-dom: *
This package is auto-updated.
Last update: 2024-09-07 08:07:51 UTC
README
表单和表格创建器
表单和表格创建器
关于AlessandroDESIGN
寻求创建工具以最大程度地提高Web应用程序开发时间的开发者
寻找创建工具以最大化Web应用程序开发时间的开发者
安装
Form and Table Creator可以通过Composer获取
"alessandrodesign/formandtablecreator": "dev-master"
或者运行
composer require alessandrodesign/formandtablecreator
文档
有关如何使用表单和表格的详细信息,请参阅组件目录中的示例文件夹
有关如何使用表单和表格的更多详细信息,请参阅组件目录中的示例文件夹
连接
要开始使用表单和表格,我们需要通过定义设置数组来实例化对象
要开始使用表单和表格,我们需要通过添加设置数组来实例化对象
创建表单
创建表单
$configForm = [ 'id' => 'save', 'name' => 'save', 'method' => 'POST', 'class' => 'row' ]; $form = new CreateForm($configForm);
创建表格
创建表格
$table = new CreateTable( [ 'id' => 'table', 'class' => 'table table-hover' ], 'div', ['class' => 'table-responsive'] );