Methods
(static) getViewScope(viewName, allowCreateopt) → {object}
返回指定的视图作用域
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
viewName |
string | 视图名 | ||
allowCreate |
boolean |
<optional> |
true |
- Source:
Returns:
- Type
- object
(static) removeViewScope(viewName)
移除指定的视图作用域
Parameters:
Name | Type | Description |
---|---|---|
viewName |
string | 视图名 |
- Source:
(static) setViewScope(viewName, viewScope)
设置指定的视图作用域
Parameters:
Name | Type | Description |
---|---|---|
viewName |
string | 视图名 |
viewScope |
object |
- Source: