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

Load Translation Via Php Array

Type: core

Class: Trans

Platform: 2v

Function: loadTransViaArray

Visibility: public

Parameter: loadTransViaArray($fileName)

Description:
This function is used by loadTrans, but can be used separately also. It's loading the translation from a php array file as described at loadTrans.
Parameters:
(required) - string - $fileName - The name of the file we want to load, must be located at: \text\translations\langCode.
Return:
array - The translation data - Contain all the translated text.
Callable from (extended classes):
application: controller,view
advanced: controller,view
operators: controller,view
api: controller,view
Info Panel
Roll it!   ⇔