Wizzi schema site
| Element | Tag | Super | Flags |
|---|---|---|---|
| site | site |
Description
The root element of the site schema.
Attributes
| Name | Tag | Type | Default | Inherited | Flags | Description | ||||
|---|---|---|---|---|---|---|---|---|---|---|
| kind | kind | string | one |
restrict
|
Relations
| Name | Role | Cardinality | Inherited | Flags | Description |
|---|---|---|---|---|---|
| item | items | one-to-many |
Methods
| Signature | Statements |
|---|---|
|
getMenus
log 'wizzimodel site this.menus', this.menus
|
if !this.menus;
return this.menus;
|
|
getMenu
log 'wizzimodel site menu', name, menu
|
var menu = _.find(this.getMenus(), { wzName: name });
return menu;
|
| Element | Tag | Super | Flags |
|---|---|---|---|
| item | item |
Relations
| Name | Role | Cardinality | Inherited | Flags | Description |
|---|---|---|---|---|---|
| item | items | one-to-many |
| Element | Tag | Super | Flags |
|---|---|---|---|
| menuitem | menuitem | item |
Attributes
| Name | Tag | Type | Default | Inherited | Flags | Description |
|---|---|---|---|---|---|---|
| href | href | string | string |
Relations
| Name | Role | Cardinality | Inherited | Flags | Description |
|---|---|---|---|---|---|
| item | items | one-to-many | item |
| Element | Tag | Super | Flags |
|---|---|---|---|
| menu | menu | item |
Relations
| Name | Role | Cardinality | Inherited | Flags | Description |
|---|---|---|---|---|---|
| item | items | one-to-many | item |