/** * @param string $sKey * @param string $sValue * * @return string */ protected function specConver($sKey, $sValue) { $mResult = $sValue; $sEnumName = $this->xmlPathToEnumName($sKey); if (null !== $sEnumName) { $mResult = EnumConvert::FromXml($sValue, $sEnumName); } return $this->specValidate($sKey, $mResult); }
/** * @param string $sValue * @param string $sEnumName * * @return string */ protected function specConver($sValue, $sEnumName) { if (null !== $sEnumName) { $mResult = EnumConvert::FromXml($sValue, $sEnumName); } return $this->specValidate($mResult, $sEnumName); }