abstract class Widget extends Fluent

Constants

TYPE_STATIC_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 = null)

Build a single attribute element.

Details

at line 22
abstract mixed render()

No description

Return Value

mixed

at line 29
view(string $view)

Set view of widget.

Parameters

string $view

at line 39
string formatAttributes()

Build an HTML attribute string from an array.

Return Value

string

at line 56
bool isSkeleton()

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

Return Value

bool

at line 64
mixed __toString()

No description

Return Value

mixed

at line 77
protected string attributeElement(string $key, string $value = null)

Build a single attribute element.

Parameters

string $key
string $value

Return Value

string