Class language

Description

BuddyServ IRC Services

Language holder class. Maintains the different language options for all members.

Located in /includes/class/Class.language.php (line 26)


	
			
Method Summary
language __construct (string $language)
bool exists (string $lang)
array|false getHelpTopic (string $service, string $topic)
bool helpTopicExists (string $service, string $topic)
void loadHelp (string $service, string $lang)
void populate ()
string string (string $what)
string __get (string $what)
Methods
Constructor __construct (line 190)

Construct our language object.

This uses references to help save memory.

language __construct (string $language)
  • string $language
exists (line 265)

Check if the language given exists, and is active

bool exists (string $lang)
  • string $lang
getHelpTopic (line 117)

Returns a service help topic as an array. Returns false if not existing.

array|false getHelpTopic (string $service, string $topic)
  • string $service
  • string $topic
helpTopicExists (line 101)

Check if the given service help topic exists.

bool helpTopicExists (string $service, string $topic)
  • string $service
  • string $topic
loadHelp (line 133)

Load the service help file for the given language, and store it in the array.

void loadHelp (string $service, string $lang)
  • string $service
  • string $lang
populate (line 43)

Populate the available languages, and store them in memory.

void populate ()
string (line 279)

Returns the given language string

string string (string $what)
  • string $what
__get (line 177)

Magic get function to return a language string.

string __get (string $what)
  • string $what

Documentation generated on Thu, 17 Dec 2009 22:41:25 -0700 by phpDocumentor 1.4.1