<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Field; class Period extends AbstractField { public function unserializeValue($FT9zA, AbstractField $SQ6_6) { return $FT9zA; } public function serializeValue($FT9zA, $TAWWJ) { return $FT9zA; } public function prepareInput($FT9zA, $TAWWJ) { goto VdQsh; VdQsh: $jT5GX = explode(':', $FT9zA); goto TJ0bs; kU8pR: return sprintf('%02d:%02d:%02d', $ddUyu[0], $ddUyu[1], $ddUyu[2]); goto JcAXc; vWlcX: foreach ($ddUyu as $kh68j => $tHq0l) { $ddUyu[$kh68j] = max(intval($tHq0l), 0); } goto kU8pR; TJ0bs: $ddUyu = array(isset($jT5GX[0]) ? $jT5GX[0] : 0, isset($jT5GX[1]) ? $jT5GX[1] : 0, isset($jT5GX[2]) ? $jT5GX[2] : 0); goto vWlcX; JcAXc: } }