Difference between revisions of "Table llx menu"
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
= Structure = | = Structure = | ||
+ | == Table == | ||
+ | '''Version 1.1 2009/10/07''' | ||
{| align="left" width="100%" border="0" rules="all" cellpadding="1" cellspacing="0" style="margin: 0 0 1px 1px; border: 1px solid #dddddd; border-right-width: 2px; border-bottom-width: 2px; background-color: #f3f3f5" | {| align="left" width="100%" border="0" rules="all" cellpadding="1" cellspacing="0" style="margin: 0 0 1px 1px; border: 1px solid #dddddd; border-right-width: 2px; border-bottom-width: 2px; background-color: #f3f3f5" | ||
|style="background-color: #e9e9ef"| <b>Field</b> | |style="background-color: #e9e9ef"| <b>Field</b> | ||
Line 26: | Line 28: | ||
| rowid | | rowid | ||
| int(11) | | int(11) | ||
− | | | + | | NO |
| PRI | | PRI | ||
− | | | + | | |
| auto_increment | | auto_increment | ||
| technical index | | technical index | ||
Line 36: | Line 38: | ||
| NO | | NO | ||
| | | | ||
− | | | + | | |
| | | | ||
| Menu handler name | | Menu handler name | ||
Line 42: | Line 44: | ||
| entity | | entity | ||
| int(11) | | int(11) | ||
− | | | + | | NO |
| | | | ||
| 1 | | 1 | ||
Line 167: | Line 169: | ||
| | | | ||
| last update date | | last update date | ||
− | |} | + | |} |
+ | == Keys == | ||
+ | '''Version 1.1 2009/10/07''' | ||
+ | {| align="left" width="100%" border="0" rules="all" cellpadding="1" cellspacing="0" style="margin: 0 0 1px 1px; border: 1px solid #dddddd; border-right-width: 2px; border-bottom-width: 2px; background-color: #f3f3f5" | ||
+ | |style="background-color: #e9e9ef"| <b>Key</b> | ||
+ | |style="background-color: #e9e9ef"| <b>Type</b> | ||
+ | |style="background-color: #e9e9ef"| <b>Fields</b> | ||
+ | |- | ||
+ | | PRIMARY | ||
+ | | PRIMARY | ||
+ | | rowid | ||
+ | |- | ||
+ | | idx_menu_uk_menu | ||
+ | | UNIQUE | ||
+ | | menu_handler,fk_menu,url,entity | ||
+ | |- | ||
+ | | idx_menu_menuhandler_type | ||
+ | | MULTIPLE | ||
+ | | menu_handler,type | ||
+ | |} |
Revision as of 07:33, 23 October 2009
The documentation related to other tables is available on the page: Table SQL
La documentation relative aux autres tables est disponible sur la page: Table SQL
La documentación relativa a otras tablas se encuentra disponible en la página: Table SQL
Eine Dokumentation zu weiteren Tabellen ist auf dieser Seite verfügbar: Table SQL
与其他表相关的文档请参阅:Table SQL
Content/Contenu/Contenido
Contains the menus.
Contient les menus.
Contiene los menús.
Structure
Table
Version 1.1 2009/10/07
Field | Type | Null | Key | Default | Extra | Description |
rowid | int(11) | NO | PRI | auto_increment | technical index | |
menu_handler | varchar(16) | NO | Menu handler name | |||
entity | int(11) | NO | 1 | multi company id | ||
module | varchar(64) | YES | NULL | module name if record is added by a module | ||
type | varchar(4) | NO | type of menu (top or left) | |||
mainmenu | varchar(100) | NO | Name family/module (home, companies, etc.) | |||
fk_menu | int(11) | NO | 0 or Id of mother menu line | |||
position | int(11) | NO | sort order of entry | |||
url | varchar(255) | NO | relative (or absolute) url to go | |||
tarjet | varchar(100) | YES | NULL | target of url link | ||
titre | varchar(255) | NO | key for menu translation | |||
langs | varchar(100) | YES | NULL | lang file to load for translation | ||
level | tint(1) | YES | NULL | only used by auguria menu. Do not use | ||
leftmenu | varchar(1) | YES | 1 | say if left menu defined in pre.inc.php and used by top menu must be overwritten by dynamic databse menu (1=yes by default) | ||
perms | varchar(255) | YES | NULL | condition to show enabled or disabled | ||
enabled | varchar(255) | YES | 1 | condition to show or hide | ||
user | int(11) | NO | 0 | 0 if menu for all users, 1 for external only, 2 for internal only | ||
tms | timestamp | NO | CURRENT_TIMESTAMP | last update date |
Keys
Version 1.1 2009/10/07
Key | Type | Fields |
PRIMARY | PRIMARY | rowid |
idx_menu_uk_menu | UNIQUE | menu_handler,fk_menu,url,entity |
idx_menu_menuhandler_type | MULTIPLE | menu_handler,type |