php man page for locale_get_keywords

Query: locale_get_keywords

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

LOCALE_GET_KEYWORDS(3)							 1						    LOCALE_GET_KEYWORDS(3)

Locale::getKeywords - Gets the keywords for the input locale

	Object oriented style

SYNOPSIS
publicstatic array Locale::getKeywords (string $locale)
DESCRIPTION
Procedural style array locale_get_keywords (string $locale) Gets the keywords for the input locale.
PARAMETERS
o $locale - The locale to extract the keywords from
RETURN VALUES
Associative array containing the keyword-value pairs for this locale
EXAMPLES
Example #1 locale_get_keywords(3) example <?php $keywords_arr = locale_get_keywords( 'de_DE@currency=EUR;collation=PHONEBOOK' ); if ($keywords_arr) { foreach ($keywords_arr as $key => $value) { echo "$key = $value "; } } ?> Example #2 OO example <?php $keywords_arr = Locale::getKeywords( 'de_DE@currency=EUR;collation=PHONEBOOK' ); if ($keywords_arr) { foreach( $keywords_arr as $key => $value){ echo "$key = $value "; } } ?> The above example will output: collation = PHONEBOOK currency = EUR
SEE ALSO
locale_get_all_variants(3). PHP Documentation Group LOCALE_GET_KEYWORDS(3)
Related Man Pages
numfmt_create(3) - php
locale_get_display_variant(3) - php
collator_get_locale(3) - php
locale_get_display_language(3) - php
locale_get_display_region(3) - php
Similar Topics in the Unix Linux Community
How to Parse a CSV file into a Different Format
To remove the extra spaces in unix
Sed command with characters
Keywords and Tags (Please Contribute)
Korn Shell manipulating the string into dynamic currency number