menu

Adianti Solutions

API

Adianti, Framework, PHP, MVC, Active record, Front controller, IDE, RAD, Web, multiplataforma, geração de código, desenvolvimento rápido, relatórios, formulários, listagens, datagrids, gráficos, banco de dados, padrões de projeto, design patterns API do Adianti Framework.
API Docs
code
Selecione a classe

Class AdiantiCoreTranslator

Description

Framework translation class for internal messages

Located in /core/AdiantiCoreTranslator.php (line 14)


	
			
Method Summary
static getInstance ()
static getLanguage ()
static setLanguage ($lang)
static translate ($word, [$param1 = NULL], [$param2 = NULL], [$param3 = NULL], [$param4 = NULL])
Methods
static getInstance (line 356)

Returns the singleton instance

  • access: public
static getInstance ()
static getLanguage (line 381)

Returns the target language

  • access: public
static getLanguage ()
static setLanguage (line 372)

Define the target language

  • access: public
static setLanguage ($lang)
  • $lang: Target language index
static translate (line 391)

Translate a word to the target language

  • access: public
static translate ($word, [$param1 = NULL], [$param2 = NULL], [$param3 = NULL], [$param4 = NULL])
  • $word: Word to be translated
  • $param1
  • $param2
  • $param3
  • $param4