BoxWidget
class BoxWidget extends Widget implements Renderable
Constants
TYPE_STAITC_TABLE |
|
Properties
protected string | $view | from Widget | |
protected string | $title | ||
protected string | $content | ||
protected string | $footer | ||
protected array | $tools | ||
protected string | $script |
Methods
mixed
render()
Render box.
__construct(string $title = '', string $content = '')
Box constructor.
$this
tools($tools = [])
右上角工具栏
array
variables()
Variables in view.
Details
at line 91
mixed
render()
Render box.
in
Widget at line 27
view(string $view)
Set view of widget.
in
Widget at line 37
string
formatAttributes()
Build an HTML attribute string from an array.
in
Widget at line 54
bool
isSkeleton()
是否是前端接口请求(请求架构)
in
Widget at line 62
mixed
__toString()
No description
in
Widget at line 75
protected string
attributeElement(string $key, string $value)
Build a single attribute element.
at line 42
__construct(string $title = '', string $content = '')
Box constructor.
at line 61
BoxWidget
content(string $content)
Set box content.
at line 80
BoxWidget
title(string $title)
Set box title.
at line 101
$this
tools($tools = [])
右上角工具栏
at line 113
protected array
variables()
Variables in view.