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 34
__construct(string|int $key, string $label = '')
Scope constructor.
at line 47
string
getLabel()
Get label.
at line 57
array
condition()
Get model query conditions.
at line 69
string
render()
Scope 因为涉及到刷新, 所以使用跳转的方式 这种方式和 layui 的监听tab 不同, 这种会在刷新页面, tab 不会保留刷新的参数
at line 82
Scope
__call(string $method, array $arguments)
No description