function getTranslatedPercent_onContentFieldValue($oContentField, $oXmlValue, $sInputName) { $fOnTextValue = "getTranslatedPercent_onTextValue"; AnwUtils::runCallbacksOnTranslatableValue($this, $oXmlValue, $sInputName, $fOnTextValue); }
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; }