Docker image / push (push) Canceled after 0s
包含:登录失败锁定、90天密码有效期、30分钟会话超时、 强制改密、登录审计日志、屏幕水印、企业背景图、 备案信息固定底部、favicon、登录页JS修复等全部改动
27 lines
605 B
PHP
27 lines
605 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
namespace MRBS\Form;
|
|
|
|
|
|
class FieldInputRadioGroup extends Field
|
|
{
|
|
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
$this->addControl(new ElementDiv())
|
|
->setControlAttributes(array('class' => 'group'));
|
|
$this->is_group = true;
|
|
}
|
|
|
|
|
|
public function addRadioOptions(array $options, string $name, $checked=null, $associative=null, bool $disabled=false): Element
|
|
{
|
|
$element = $this->getControl();
|
|
$element->addRadioOptions($options, $name, $checked, $associative, $disabled);
|
|
$this->setControl($element);
|
|
return $this;
|
|
}
|
|
|
|
}
|