Path in the Gestor bibliotecas/interface-listar-tailwind.php
The Tailwind listing variant shares interface configuration and AJAX. It does not load DataTables; interface-listar-tailwind.js consumes authorized columns and server responses.
-
interface_listar_tailwind_configurar receives table/column settings, validates sortable IDs with interface_listar_coluna_segura and restores offset/page size. Allowed sizes are 10, 25, 50 or 100; default 25. Without declared ordering it uses the first sortable column. HTML is allowed only for columns whose declared formatar is an array.
-
interface_listar_tailwind_finalizar counts non-deleted records using the declared filter, corrects offsets beyond the total, stores configuration in a module/action/user session, publishes JS variables and assembles the appropriate interface-listar variant. Actions translate icons to Lucide; texts come from interface variables.
Status and deletion retain the interface library's authorized flow. See Interface and Controls.
Generated functions
Generated from gestor/bibliotecas/interface-listar-tailwind.php · 2 functions
interface_listar_tailwind_configurar
view source · line 4 ↗interface_listar_tailwind_configurar($params, $anterior = Array())Listagem Tailwind (req-220): mesmo contrato AJAX e allowlist do servidor.
Parameters
$params$anterior
interface_listar_tailwind_finalizar
view source · line 44 ↗interface_listar_tailwind_finalizar($params)Parameters
$params