<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Field; use ModStart\Core\Util\ConvertUtil; class Images extends AbstractField { protected $width = 80; protected function setup() { $this->addVariables(array('server' => modstart_admin_url('data/file_manager/image'))); } public function server($P6Nu0) { $this->addVariables(array('server' => $P6Nu0)); return $this; } public function unserializeValue($Gttsd, AbstractField $acdQI) { if (null === $Gttsd) { return $Gttsd; } return ConvertUtil::toArray($Gttsd); } public function serializeValue($Gttsd, $BWo2e) { return json_encode($Gttsd); } public function prepareInput($Gttsd, $BWo2e) { return ConvertUtil::toArray($Gttsd); } }