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