FormFieldRadioEstablish
class FormFieldRadioEstablish extends FormWidget
Traits
Properties
protected string | $title | 表单标题 | from FormWidget |
protected Collection | $items | 表单内的表单条目集合 | from FormWidget |
protected array | $model | 模型数据 | from FormWidget |
protected Fluent | $attrs | 表单属性 | from FormWidget |
protected array | $buttons | 可用的按钮 | from FormWidget |
Methods
No description
No description
No description
表单域标签的宽度,例如 '50px'。 作为 Form 直接子元素的 form-item 会继承该值。 支持 auto
Generate items and append to form list
返回表单的结构 规则解析参考 : https://github.com/yiminghe/async-validator
Details
in
PoppyTrait at line 41
protected AuthManager
pyAuth()
get auth
in
PoppyTrait at line 50
protected Translator
pyTranslator()
get translator
in
PoppyTrait at line 60
protected Repository
pyConfig()
Get configuration instance.
in
PoppyTrait at line 70
protected DatabaseManager
pyDb()
get db
in
PoppyTrait at line 79
protected Kernel
pyConsole()
Get console instance.
in
PoppyTrait at line 88
protected Container
pyContainer()
Get IoC Container.
in
PoppyTrait at line 97
protected Mailer
pyMailer()
Get mailer instance.
in
PoppyTrait at line 106
protected SessionManager|Store
pySession()
Get session instance.
in
PoppyTrait at line 115
protected Request
pyRequest()
get request
in
PoppyTrait at line 125
protected Redirector
pyRedirector()
get redirector
in
PoppyTrait at line 134
protected Factory
pyValidation()
get validation
in
PoppyTrait at line 144
protected Dispatcher
pyEvent()
get event
in
PoppyTrait at line 154
protected LoggerInterface
pyLogger()
get logger
in
PoppyTrait at line 164
protected ResponseFactory
pyResponse()
get response
in
PoppyTrait at line 174
protected Filesystem
pyFile()
get file
in
PoppyTrait at line 184
protected UrlGenerator
pyUrl()
get url
in
PoppyTrait at line 195
protected mixed
pyCache(string $tag = '')
get cache
in
PoppyTrait at line 209
protected RedisManager
pyRedis()
get redis
in
PoppyTrait at line 218
protected Factory
pyView()
get view
in
PoppyTrait at line 227
protected Poppy
pyPoppy()
get poppy
in
PoppyTrait at line 236
protected Ini
pyIni()
Ini Parser
in
PoppyTrait at line 245
protected Xml
pyXml()
Ini Parser
in
PoppyTrait at line 254
protected Yaml
pyYaml()
Yaml Parser
in
UseWidgetUtil at line 15
protected bool
queryHas(string $type)
检测查询类型是否存在
in
UseWidgetUtil at line 29
protected string
queryAfter(string $type)
检测查询类型是否存在
in
FormWidget at line 135
__construct()
Form constructor.
at line 47
form()
No description
at line 12
handle()
No description
at line 20
array
data()
No description
in
FormWidget at line 157
labelWidth(string $width)
表单域标签的宽度,例如 '50px'。 作为 Form 直接子元素的 form-item 会继承该值。 支持 auto
in
FormWidget at line 166
FormWidget
disableReset()
Disable reset button.
in
FormWidget at line 177
FormWidget
disableSubmit()
Disable submit button.
in
FormWidget at line 188
FormWidget
inline()
行内表单模式, 取消自动宽度, 进行宽度自适应
in
FormWidget at line 201
FormWidget
disabled(bool $value)
是否禁用该表单内的所有组件。 若设置为 true,则表单内组件上的 disabled 属性不再生效
in
FormWidget at line 212
FormWidget
addItem(FormItem $item)
向服务器添加字段
in
FormWidget at line 222
Collection
items($type = '')
获取表单的所有字段
in
FormWidget at line 240
FormItem|$this
__call(string $method, array $arguments = [])
Generate items and append to form list
in
FormWidget at line 258
FormWidget
title(string $value)
设置表单的标题
in
FormWidget at line 269
JsonResponse|RedirectResponse|Resp|Response
resp()
返回表单的结构 规则解析参考 : https://github.com/yiminghe/async-validator
in
FormWidget at line 300
object|string
param($param)
获取路由参数
in
FormWidget at line 309
array
queryStruct()
查询结构
in
FormWidget at line 328
object
queryData()
查询数据
in
FormWidget at line 341
protected bool|MessageBag
validate(Request $request)
Validate this form fields.
in
FormWidget at line 96
Text
text(mixed $name, mixed $label)
No description
in
FormWidget at line 96
Textarea
textarea(mixed $name, mixed $label)
No description
in
FormWidget at line 96
Url
url(mixed $name, mixed $label)
No description
in
FormWidget at line 96
Password
password(mixed $name, mixed $label)
No description
in
FormWidget at line 96
Mobile
mobile(mixed $name, mixed $label)
No description
in
FormWidget at line 96
Ip
ip(mixed $name, mixed $label)
No description
in
FormWidget at line 96
Decimal
decimal(mixed $name, mixed $label)
No description
in
FormWidget at line 96
Currency
currency(mixed $name, mixed $label)
No description
in
FormWidget at line 96
Email
email(mixed $name, mixed $label)
No description
in
FormWidget at line 96
Number
number(mixed $name, mixed $label)
No description
in
FormWidget at line 96
Radio
radio(mixed $name, mixed $label)
No description
in
FormWidget at line 96
Checkbox
checkbox(mixed $name, mixed $label)
No description
in
FormWidget at line 96
Select
select(mixed $name, mixed $label)
No description
in
FormWidget at line 96
MultiSelect
multiSelect(mixed $name, mixed $label)
No description
in
FormWidget at line 96
Tags
tags(mixed $name, mixed $label)
No description
in
FormWidget at line 96
Color
color(mixed $name, mixed $label)
No description
in
FormWidget at line 96
Year
year(mixed $name, mixed $label)
No description
in
FormWidget at line 96
Month
month(mixed $name, mixed $label)
No description
in
FormWidget at line 96
Date
date(mixed $name, mixed $label)
No description
in
FormWidget at line 96
Datetime
datetime(mixed $name, mixed $label)
No description
in
FormWidget at line 96
Time
time(mixed $name, mixed $label)
No description
in
FormWidget at line 96
DateRange
dateRange(mixed $name, mixed $label)
No description
in
FormWidget at line 96
MonthRange
monthRange(mixed $name, mixed $label)
No description
in
FormWidget at line 96
DatetimeRange
datetimeRange(mixed $name, mixed $label)
No description
in
FormWidget at line 96
TimeRange
timeRange(mixed $name, mixed $label)
No description
in
FormWidget at line 96
OnOff
onOff(mixed $name, mixed $label)
No description
in
FormWidget at line 96
Image
image(mixed $name, mixed $label)
No description
in
FormWidget at line 96
File
file(mixed $name, mixed $label)
No description
in
FormWidget at line 96
MultiImage
multiImage(mixed $name, mixed $label)
No description
in
FormWidget at line 96
MultiFile
multiFile(mixed $name, mixed $label)
No description
in
FormWidget at line 96
Editor
editor(mixed $name, mixed $label)
No description
in
FormWidget at line 96
Divider
divider(mixed $label)
No description
in
FormWidget at line 96
Code
code(mixed $name, mixed $label)
No description
in
FormWidget at line 96
Actions
actions(mixed $name, mixed $label)
No description