<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Grid\Filter; class Where extends AbstractFilter { protected $where; public $input; public function __construct(\Closure $vw3jY, $Nvfoc) { goto kXw7p; LtTQC: $this->column = static::getQueryHash($vw3jY, $this->label); goto AtweR; kXw7p: $this->where = $vw3jY; goto xitD4; xitD4: $this->label = $this->formatLabel($Nvfoc); goto LtTQC; xfbHC: $this->setupField(); goto SOZcL; AtweR: $this->id = $this->formatId($this->column); goto xfbHC; SOZcL: } public static function getQueryHash(\Closure $rDg26, $Nvfoc = '') { $plKTy = new \ReflectionFunction($rDg26); return md5($plKTy->getFileName() . $plKTy->getStartLine() . $plKTy->getEndLine() . $Nvfoc); } public function condition($ZhR0b) { goto Xw_gM; l6jLx: if (is_null($HDpl6) || empty($HDpl6)) { return; } goto XJUY9; w4HXp: return $this->buildCondition($this->where->bindTo($this)); goto e6itt; XJUY9: $this->input = $this->value = $HDpl6; goto w4HXp; Xw_gM: $HDpl6 = array_get($ZhR0b, static::getQueryHash($this->where, $this->label)); goto SOcX_; SOcX_: if (is_array($HDpl6)) { $HDpl6 = array_filter($HDpl6); } goto l6jLx; e6itt: } }