<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Field; class Values extends AbstractField { protected $value = array(); protected $width = 300; protected $listable = false; public function unserializeValue($tzAUI, AbstractField $Q2vn5) { goto ZaulH; ZaulH: $tzAUI = @json_decode($tzAUI, true); goto rPb1B; rPb1B: if (empty($tzAUI)) { $tzAUI = array(); } goto RY20S; RY20S: return $tzAUI; goto RJSO1; RJSO1: } public function serializeValue($tzAUI, $pWRTh) { return json_encode($tzAUI); } public function prepareInput($tzAUI, $pWRTh) { goto E1coI; E1coI: $tzAUI = @json_decode($tzAUI, true); goto FByRR; s2kAp: return $tzAUI; goto CZWqg; FByRR: if (empty($tzAUI)) { $tzAUI = array(); } goto s2kAp; CZWqg: } }