Exemplo n.º 1
0
 function getTranslatedPercent_onContentFieldValue($oContentField, $oXmlValue, $sInputName)
 {
     $fOnTextValue = "getTranslatedPercent_onTextValue";
     AnwUtils::runCallbacksOnTranslatableValue($this, $oXmlValue, $sInputName, $fOnTextValue);
 }
Exemplo n.º 2
0
 function saveTranslation_cbkOnValue($oContentField, $oXmlValue, $sInputName)
 {
     $fOnTextValue = "saveTranslation_onTextValue";
     AnwUtils::runCallbacksOnTranslatableValue($this, $oXmlValue, $sInputName, $fOnTextValue, null, null);
     //$oXmlValue has been modified by callback
     $sValue = AnwUtils::xmlDumpNodeChilds($oXmlValue);
     AnwDebug::log(" => value[] for {$sInputName} : " . htmlentities($sValue));
     $this->saveTranslation_ContentFieldValues[] = $sValue;
 }