## P4A_I18N_Messages

Description

p4a internationalization class for string messages.

- author: Fabrizio Balliano <fabrizio.balliano@crealabs.it>
- author: Andrea Giardina <andrea.giardina@crealabs.it>

Located in /p4a/i18n/i18n_messages.php (line 46)

Variable Summary
array $messages
Method Summary
P4A_I18N_Messages P4A_I18N_Messages (string $language, string $country)
string get ([string $first_level_id = null], [string $second_level_id = null])
array getAll ()
Variables
array $messages = array() (line 53)

All messages are stored here.

- access: private

Methods
Constructor P4A_I18N_Messages (line 61)

Class constructor.

- access: private

P4A_I18N_Messages P4A_I18N_Messages (string $language, string $country)

- string $language: The desired language.
- string $country: The desired country.

get (line 84)

Retrieves a message.

If no param is passed returns all messages in array.

- access: public

string get ([string $first_level_id = null], [string $second_level_id = null])

- string $first_level_id: The first level message id (default).
- string $second_level_id: The second level message id (used only when the first level value is an array. Eg: days names).

getAll (line 105)

Retrieves all messages

- access: public

array getAll ()

Documentation generated on Fri, 26 May 2006 12:43:16 +0200 by phpDocumentor 1.3.0RC5