Skip to content

jpsistemasbr/plates-view

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Router @jpsistemasbr

Pacote de gerenciamento da camada de views com Plates php

Installation

View is available via Composer:

"jpsistemasbr/plates-view": "1.0.*"

or run

composer require jpsistemasbr/plates-view

Documentation

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:

View
<?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()
        ]);

Support

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

License

The MIT License (MIT). Please see License File for more information.

About

Gerenciador de template Plates

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages