<?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($Bodfy = null) { goto FIZRT; XAFN1: $this->options = $HDpl6; goto hOBjN; FIZRT: if (null === $Bodfy) { return $this->options; } goto nHcFK; nHcFK: if (is_string($Bodfy) && is_subclass_of($Bodfy, BaseType::class)) { $HDpl6 = $Bodfy::getList(); } else { if (is_array($Bodfy)) { $HDpl6 = $Bodfy; } else { BizException::throws('Select options error'); } } goto XAFN1; hOBjN: } }