Exemplo n.º 1
0
 /**
  * @param string $sKey
  * @param string $sValue
  *
  * @return string
  */
 protected function specBackConver($sKey, $sValue)
 {
     $mResult = $sValue;
     $sEnumName = $this->xmlPathToEnumName($sKey);
     if (null !== $sEnumName) {
         $mResult = EnumConvert::ToXml($sValue, $sEnumName);
     }
     return $mResult;
 }
Exemplo n.º 2
0
 /**
  * @param string $sValue
  * @param string $sEnumName
  *
  * @return string
  */
 protected function specBackConver($sValue, $sEnumName)
 {
     $mResult = $sValue;
     if (null !== $sEnumName) {
         $mResult = EnumConvert::ToXml($sValue, $sEnumName);
     }
     return $mResult;
 }