<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Grid\Filter\Field; use ModStart\Core\Exception\BizException; use ModStart\Core\Type\BaseType; class Radio extends AbstractFilterField { protected $options = array(); protected function setup() { $this->addFluentAttributeVariable('options'); } public function options($RKwZR = null) { goto NZxPf; WtQxG: $this->options = $Mczr_; goto LDRfq; NZxPf: if (null === $RKwZR) { return $this->options; } goto cqh81; cqh81: if (is_string($RKwZR) && is_subclass_of($RKwZR, BaseType::class)) { $Mczr_ = $RKwZR::getList(); } else { if (is_array($RKwZR)) { $Mczr_ = $RKwZR; } else { BizException::throws('Select options error'); } } goto WtQxG; LDRfq: } }