<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Field; class Values extends AbstractField { protected $width = 300; protected $listable = false; protected function setup() { $this->addVariables(array('viewMode' => 'default')); } public function viewMode($AQjfQ) { $this->addVariables(array('viewMode' => $AQjfQ)); return $this; } public function viewModeMini() { return $this->viewMode('mini'); } public function unserializeValue($mdHu1, AbstractField $Mk6lP) { goto YT5EQ; ARUTl: if (empty($mdHu1)) { $mdHu1 = array(); } goto yfwmF; YT5EQ: if (null === $mdHu1) { return $mdHu1; } goto o6WVv; o6WVv: $mdHu1 = @json_decode($mdHu1, true); goto ARUTl; yfwmF: return $mdHu1; goto Z7y5V; Z7y5V: } public function serializeValue($mdHu1, $DRh9Q) { return json_encode($mdHu1, JSON_UNESCAPED_UNICODE); } public function prepareInput($mdHu1, $DRh9Q) { goto OW_YM; OW_YM: $mdHu1 = @json_decode($mdHu1, true); goto qMOil; qMOil: if (empty($mdHu1)) { $mdHu1 = array(); } goto fAARM; fAARM: return $mdHu1; goto VDBsd; VDBsd: } }