<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Field; class Period extends AbstractField { public function unserializeValue($Gttsd, AbstractField $acdQI) { return $Gttsd; } public function serializeValue($Gttsd, $BWo2e) { return $Gttsd; } public function prepareInput($Gttsd, $BWo2e) { goto myyLK; vdTzi: foreach ($Nq2Ir as $RTHJ6 => $F6Fus) { $Nq2Ir[$RTHJ6] = max(intval($F6Fus), 0); } goto jIgzj; myyLK: $TDAzu = explode(':', $Gttsd); goto I1SL8; jIgzj: return sprintf('%02d:%02d:%02d', $Nq2Ir[0], $Nq2Ir[1], $Nq2Ir[2]); goto YSIny; I1SL8: $Nq2Ir = array(isset($TDAzu[0]) ? $TDAzu[0] : 0, isset($TDAzu[1]) ? $TDAzu[1] : 0, isset($TDAzu[2]) ? $TDAzu[2] : 0); goto vdTzi; YSIny: } }