Extract Translate From Xml
Function: extractTransFromXml
Visibility: public
Parameter: extractTransFromXml($text,$externalVar)
Description:
This function is used by extractTrans, but can be used separately also. It's outputing the translation from a xml file as described at extractTrans to the end user.
Parameters:
(required) - string - $text - The text to be translated - Written in the default language (usually en).
(optional) - string/array - $externalVar - Containing the values that will effect the translation.
Return:
string - The translated text.
Callable from (extended classes):
application: controller,view
advanced: controller,view
operators: controller,view
api: controller,view