Scope
class Scope implements Renderable
Constants
QUERY_NAME |
|
Properties
string | $key | ||
protected string | $label | ||
protected Collection | $queries |
Methods
__construct(string|int $key, string $label = '')
Scope constructor.
string
getLabel()
Get label.
array
condition()
Get model query conditions.
string
render()
Scope 因为涉及到刷新, 所以使用跳转的方式 这种方式和 layui 的监听tab 不同, 这种会在刷新页面, tab 不会保留刷新的参数
Details
at line 36
__construct(string|int $key, string $label = '')
Scope constructor.
at line 49
string
getLabel()
Get label.
at line 59
array
condition()
Get model query conditions.
at line 71
string
render()
Scope 因为涉及到刷新, 所以使用跳转的方式 这种方式和 layui 的监听tab 不同, 这种会在刷新页面, tab 不会保留刷新的参数
at line 84
Scope
__call(string $method, array $arguments)
No description