<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Grid\Filter\Field; use ModStart\Grid\Filter\AbstractFilter; use ModStart\Support\Concern\HasFluentAttribute; abstract class AbstractFilterField { use HasFluentAttribute; private $fluentAttributes = array(); protected $label = ''; private $filter; public function __construct(AbstractFilter $pvsQp) { $this->filter = $pvsQp; $this->setup(); } protected function setup() { } public function label($ib3B9 = null) { goto NgbE0; OhZD4: $this->label = $ib3B9; goto rgShP; NgbE0: if (is_null($ib3B9)) { return $this->label; } goto OhZD4; rgShP: return $this; goto smHx9; smHx9: } public function variables() { goto yf42g; vfLUv: foreach ($this->fluentAttributes as $F_a6B) { $XZNiG[$F_a6B] = $this->{$F_a6B}; } goto zEMuE; zEMuE: return $XZNiG; goto CLfGh; yf42g: $XZNiG = array(); goto vfLUv; CLfGh: } public function __call($eNE35, $lUGZC) { if ($this->isFluentAttribute($eNE35)) { return $this->fluentAttribute($eNE35, $lUGZC); } throw new \Exception('AbstractFilterField __call error : ' . $eNE35); } }