abstract class Widget extends Fluent

Constants

TYPE_STAITC_TABLE

Properties

protected string $view

Methods

mixed
render()

No description

view(string $view)

Set view of widget.

string
formatAttributes()

Build an HTML attribute string from an array.

bool
isSkeleton()

是否是前端接口请求(请求架构)

mixed
__toString()

No description

string
attributeElement(string $key, string $value)

Build a single attribute element.

Details

at line 20
abstract mixed render()

No description

Return Value

mixed

at line 27
view(string $view)

Set view of widget.

Parameters

string $view

at line 37
string formatAttributes()

Build an HTML attribute string from an array.

Return Value

string

at line 54
bool isSkeleton()

是否是前端接口请求(请求架构)

Return Value

bool

at line 62
mixed __toString()

No description

Return Value

mixed

at line 75
protected string attributeElement(string $key, string $value)

Build a single attribute element.

Parameters

string $key
string $value

Return Value

string