Pacote de gerenciamento da camada de views com Plates php
View is available via Composer:
"jpsistemasbr/plates-view": "1.0.*"
or run
composer require jpsistemasbr/plates-view
For details on how to use the router, see the sample folder with details in the component directory. To use the router you need to redirect your route routing navigation (index.php) where all traffic must be handled. The example below shows how:
Para mais detalhes sobre como usar o router, veja a pasta de exemplo com detalhes no diretório do componente. O exemplo abaixo mostra como:
<?php
use Jpsistemasbr\View\View;
$view = new View();
$user = new _User();
$list = $user->listUser($data);
$view->render("private/usuario_list", [
'title' => 'Usuarios',
'name' => 'JP SISTEMAS',
'usuarios' => $list["users"],
'tipe_user' => (new _TipoUser())->getTipo()
]);
Security: If you discover any security related issues, please email jpsistemasbr@gmail.com instead of using the issue tracker.
Se você descobrir algum problema relacionado à segurança, envie um e-mail para jpsistemasbr@gmail.com em vez de usar o rastreador de problemas.
Thank you
The MIT License (MIT). Please see License File for more information.