<?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'))); } public function server($aA0oj) { $this->addVariables(array('server' => $aA0oj)); return $this; } public function unserializeValue($tzAUI, AbstractField $Q2vn5) { return ConvertUtil::toArray($tzAUI); } public function serializeValue($tzAUI, $pWRTh) { return json_encode($tzAUI); } public function prepareInput($tzAUI, $pWRTh) { return ConvertUtil::toArray($tzAUI); } }