Info Panel
Roll it!   ⇔
1 - Documantation
* Knowledge Base
  • Mvc
  • Application
  • Advanced
  • Operators
  • Api
* Origin Template
  • Customize
* Core Classes
* Classes

* all grey titles exists but not documented yet

Extract Translate From Xml

Type: core

Class: Trans

Platform: 2v

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
Info Panel
Roll it!   ⇔