Class AKText

Description

A simple INI-based i18n engine

Located in /administrator/components/com_joomlaupdate/restore.php (line 4368)

AKAbstractObject
   |
   --AKText
Method Summary
 static Language &getInstance ()
 static array parse_ini_file (string $file, [bool $process_sections = false], [ $raw_data = false])
 static void sprintf ( $key)
 static void _ ( $string)
 AKText __construct ()
 void asJavascript ()
 void dumpLanguage ()
Variables
Methods
static getInstance (line 4486)

Singleton pattern for Language

  • return: The global Language instance
  • access: public
static Language &getInstance ()
static parse_ini_file (line 4682)

A PHP based INI file parser.

Thanks to asohn ~at~ aircanopy ~dot~ net for posting this handy function on the parse_ini_file page on http://gr.php.net/parse_ini_file

  • return: An associative array of sections, keys and values
  • access: public
static array parse_ini_file (string $file, [bool $process_sections = false], [ $raw_data = false])
  • string $file: Filename to process
  • bool $process_sections: True to also process INI sections
  • $raw_data
static sprintf (line 4520)
  • access: public
static void sprintf ( $key)
  • $key
static _ (line 4498)
  • access: public
static void _ ( $string)
  • $string
Constructor __construct (line 4468)
  • access: public
AKText __construct ()

Redefinition of:
AKAbstractObject::__construct()
Public constructor, makes sure we are instanciated only by the factory class
asJavascript (line 4541)
  • access: public
void asJavascript ()
dumpLanguage (line 4531)
  • access: public
void dumpLanguage ()
getBrowserLanguage (line 4559)
  • access: public
void getBrowserLanguage ()
resetTranslation (line 4554)
  • access: public
void resetTranslation ()

Inherited Methods

Inherited From AKAbstractObject

 AKAbstractObject::__construct()
 AKAbstractObject::getError()
 AKAbstractObject::getErrors()
 AKAbstractObject::getWarning()
 AKAbstractObject::getWarnings()
 AKAbstractObject::propagateFromObject()
 AKAbstractObject::propagateToObject()
 AKAbstractObject::resetErrors()
 AKAbstractObject::resetWarnings()
 AKAbstractObject::setError()
 AKAbstractObject::setErrorsQueueSize()
 AKAbstractObject::setWarning()
 AKAbstractObject::setWarningsQueueSize()

Documentation generated on Tue, 19 Nov 2013 15:12:17 +0100 by phpDocumentor 1.4.3