Overview

Namespaces

  • App
    • Components
    • Interfaces
    • Lib
      • Files
      • Forms
        • Controls
      • Html
      • Repair
      • Statics
    • Model
    • Modules
      • BaseModule
        • Presenters
      • PartnersModule
        • Presenters
      • ProductModule
        • Presenters
      • SaleModule
        • Model
        • Presenters
      • SettingsModule
        • Model
        • Presenters
      • StoreModule
        • Model
        • Presenters
    • Presenters
    • Router
  • PHP

Classes

  • DateTime
  • SplFileInfo

Interfaces

  • ArrayAccess
  • Countable
  • Exception
  • Iterator
  • Traversable
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Download
  1: <?php
  2: 
  3: /**
  4:  * Project sberp
  5:  *
  6:  * @file const 
  7:  * @author Jaromír Polášek
  8:  * @version 0.5.1
  9:  * Encoding UTF-8
 10:  */
 11: 
 12: namespace App\Lib\Statics;
 13: 
 14: /**
 15:  * Knihovna konstant
 16:  */
 17: class Cons {
 18: 
 19:     /**
 20:      * Názvy tabulek
 21:      */
 22:     const TABLE_MENU = 'base_menu',
 23:         TABLE_MODULE = 'base_module',
 24:         TABLE_PRESENTER = 'base_presenter',
 25:         TABLE_SOURCE = 'base',
 26:         TABLE_TABLE = 'table',
 27:         TABLE_FIELDS = 'fields',
 28:         TABLE_USERS = 'users',
 29:         TABLE_GROUPS = 'groups',
 30:         TABLE_ROLES = 'roles',
 31:         TABLE_PREFERENCES = 'preferences',
 32:         TABLE_INFO = 'tables',
 33:         TABLE_ACL = 'acl',
 34:         TABLE_PRIVILEGES = 'privileges',
 35:         TABLE_RESOURCES = 'resources',
 36:         TABLE_CONFIG = 'configuration',
 37:         TABLE_ELEMENTS = 'elements'
 38:     ;
 39: 
 40:     /**
 41:      * Jednotné názvy sloupců
 42:      */
 43:     const COLUMN_ID = 'id',
 44:         COLUMN_NAME = 'name',
 45:         COLUMN_PARENT = 'parent_id',
 46:         COLUMN_LINK = 'link',
 47:         COLUMN_STATE = 'state',
 48:         COLUMN_VISIBLE = 'visible',
 49:         COLUMN_LEFT = 'lft',
 50:         COLUMN_RIGHT = 'rgt',
 51:         COLUMN_DEPTH = 'depth',
 52:         COLUMN_PATH = 'path',
 53:         COLUMN_ACTION = 'action',
 54:         COLUMN_DIR = 'dir',
 55:         COLUMN_TARGET = 'target',
 56:         COLUMN_OBJECT = 'object',
 57:         COLUMN_TYPE = 'type',
 58:         COLUMN_KEY = 'key',
 59:         COLUMN_VALUE = 'value',
 60:         COLUMN_PASSWORD = 'password',
 61:         COLUMN_USERNAME = 'username',
 62:         COLUMN_FULLNAME = 'fullname',
 63:         COLUMN_EMAIL = 'email',
 64:         COLUMN_MENU = 'menu',
 65:         COLUMN_DESC = 'desc',
 66:         COLUMN_SOURCE = 'source',
 67:         COLUMN_SEQ = 'sequence',
 68:         COLUMN_FIELD = 'field',
 69:         COLUMN_FOOTER = 'footer',
 70:         COLUMN_FILTER = 'filter',
 71:         COLUMN_ROW = 'row',
 72:         COLUMN_TABLE = 'table',
 73:         COLUMN_LENGHT = 'lenght',
 74:         COLUMN_RELATION = 'relation',
 75:         COLUMN_REQUIRED = 'required',
 76:         COLUMN_READONLY = 'readonly',
 77:         COLUMN_DEFAULT = 'default',
 78:         COLUMN_CLASS = 'class',
 79:         
 80:         COLUMN_C_ID = 'create_uid',
 81:         COLUMN_W_ID = 'write_uid',
 82:         COLUMN_C_DATE = 'create_date',
 83:         COLUMN_W_DATE = 'write_date'
 84:     ;
 85: 
 86:     /**
 87:      * Data uživatele
 88:      */
 89:     const USER_LOGIN = 'login',
 90:         USER_NAME = 'fullname',
 91:         USER_EMAIL = 'email',
 92:         USER_HOME = 'homepage',
 93:         USER_SOURCE = 'source',
 94:         USER_DESC = 'desc',
 95:         USER_MENU = 'menu',
 96:         USER_DEFAULT = 'default',
 97:         
 98:         ROLE_ADMIN = 'Admin',
 99:         ROLE_USER = 'User'
100:     ;
101: 
102:     /**
103:      * Atributy přístupu
104:      */
105:     const READ = 'r',
106:         CREATE = 'c',
107:         WRITE = 'w',
108:         DELETE = 'd';
109: 
110:     /**
111:      * Skupiny zdrojů
112:      */
113:     const RES_TABLES = 'tables',
114:         RES_FILES = 'files',
115:         RES_MENU = 'menu'
116:         ;
117:     /**
118:      * Univerzální konstanty
119:      */
120:     const UNKNOWN = 'Neznámý',
121:         VERIFY = 'verify',
122:         MENU = 'menu',
123:         TABLE_SEP = '_',
124:         ROOT = 'root'
125: 
126:     ;
127:     
128: }
129: 
sberp API API documentation generated by ApiGen