Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

Supme/Loyalty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Loyalty

![Gitter](https://badges.gitter.im/Join Chat.svg)

Easy MVC intranet site.

Requery:

  • PHP 5.4
  • SQLite

In Twig templates you must use:

  • {{ _user.isLogin }} (bool) User is login?
  • {{ _user.read }} (bool) User have right on function read on this page
  • {{ _user.add }} (bool) User have right on function add on this page
  • {{ _user.edit }} (bool) User have right on function edit on this page
  • {{ _user.delete }} (bool) User have right on function delete on this page
  • {{ _user.userName }} (text) User name
  • {{ _user.groupName }} (text) User group name
  • {{ _page.id }} (int) Site map id this page
  • {{ _page.segment }} (text) Address segment called script

In PHP:

Registry::get(var);

var:

  • _db
  • _auth (
    • ->read
    • ->add
    • ->edit
    • .......
  • _page
    • ['id']
    • ['pid']
    • ['segment']
    • ['title']
    • ['visible']
    • .......
  • _params

Comming soon...

About

Easy MVC intranet site.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published