API Documentação da API
Pacote Dominando o Adianti 7
Curso + Livro + Apps exemplo
Curso completo em Video Aulas (114 aulas).
Livro completo em PDF (463 páginas).
Códigos-fontes de Apps de exemplo.
API
API do Framework
Documentation

Documentation

AdiantiCoreTranslator
in package

Framework translation class for internal messages

Tags
version
7.6
author

Pablo Dall'Oglio

copyright

Copyright (c) 2006 Adianti Solutions Ltd. (http://www.adianti.com.br)

license

https://adiantiframework.com.br/license

alias

TAdiantiCoreTranslator

Table of Contents

Properties

$instance  : mixed
$lang  : mixed
$messages  : mixed
$sourceMessages  : mixed

Methods

getInstance()  : Instance
Returns the singleton instance
getLanguage()  : Target
Returns the target language
setLanguage()  : mixed
Define the target language
translate()  : Translated
Translate a word to the target language
__construct()  : mixed
Class Constructor

Properties

Methods

getInstance()

Returns the singleton instance

public static getInstance() : Instance
Return values
Instance

of self

getLanguage()

Returns the target language

public static getLanguage() : Target
Return values
Target

language index

setLanguage()

Define the target language

public static setLanguage( $lang) : mixed
Parameters
$lang :

Target language index

translate()

Translate a word to the target language

public static translate( $word[, mixed $param1 = NULL ][, mixed $param2 = NULL ][, mixed $param3 = NULL ][, mixed $param4 = NULL ]) : Translated
Parameters
$word :

Word to be translated

$param1 : mixed = NULL
$param2 : mixed = NULL
$param3 : mixed = NULL
$param4 : mixed = NULL
Return values
Translated

word


        
On this page

Search results