alessandrodesign / formandtablecreator
Form and table creator
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-11-07 08:41:41 UTC
README
Form and table creator
Criador de formulários e tabelas
About AlessandroDESIGN
Developer looking to create tools to maximize web application development time
Desenvolvedor que busca criar ferramentas para maximizar o tempo de desenvolvimento de aplicações web
Installation
Form and Table Creator is available via Composer:
"alessandrodesign/formandtablecreator": "dev-master"
or run
composer require alessandrodesign/formandtablecreator
Documentation
For details on how to use the Form and Table, see the sample folder with details in the component directory
Para mais detalhes sobre como usar o Form and Table, veja a pasta de exemplo com detalhes no diretório do componente
connection
To start using Form and Table we need to instantiate the object by defining adding an array with the settings
Para começar a usar o Form and Table precisamos instanciar o objeto definindo adicionando um array com as configurações
Creating a form
Criando um formulário
$configForm = [ 'id' => 'save', 'name' => 'save', 'method' => 'POST', 'class' => 'row' ]; $form = new CreateForm($configForm);
Creating a table
Criando uma tabela
$table = new CreateTable( [ 'id' => 'table', 'class' => 'table table-hover' ], 'div', ['class' => 'table-responsive'] );