Class LanguagesHelper

Description

Languages component helper.

  • since: 1.6

Located in /administrator/components/com_languages/helpers/languages.php (line 19)


	
			
Method Summary
 static void addSubmenu (string $vName, [int $client = 0])
 static string filterKey (string $value)
 static string filterText (string $value)
 static JObject getActions ()
 static array parseFile (string $filename)
Methods
static addSubmenu (line 29)

Configure the Linkbar.

  • access: public
static void addSubmenu (string $vName, [int $client = 0])
  • string $vName: The name of the active view.
  • int $client: The client id of the active view. Maybe be 0 or 1
static filterKey (line 112)

Filter method for language keys.

This method will be called by JForm while filtering the form data.

  • return: The filtered language key
  • since: 2.5
  • access: public
static string filterKey (string $value)
  • string $value: The language key to filter
static filterText (line 129)

Filter method for language strings.

This method will be called by JForm while filtering the form data.

  • return: The filtered language string
  • since: 2.5
  • access: public
static string filterText (string $value)
  • string $value: The language string to filter
static getActions (line 58)

Gets a list of the actions that can be performed.

  • access: public
static JObject getActions ()
static parseFile (line 83)

Method for parsing ini files

  • return: Array of strings found in the file, the array indices will be the keys. On failure an empty array will be returned
  • since: 2.5
  • access: public
static array parseFile (string $filename)
  • string $filename: Path and name of the ini file to parse

Documentation generated on Tue, 19 Nov 2013 15:06:38 +0100 by phpDocumentor 1.4.3