SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 566 | Next

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"

Each element is an associative array with three keys,
name, value, and selected. This can be used to build a selection list of languages.
Parameters actualLanguage Current language
[basePath] Path in which to find known languages
[caching] Use cached response
Returns Two-dimensional array of language options
Appendix
[ 417 ]
JText
static
Translates strings to the correct language using the JLanguage class.
Methods
static printf( string : string ) : int
Works like the PHP printf() function, except that string is translated. This method
accepts a variable number of parameters. The additional arguments will not be translated.
The result is outputted, and the method returns the length of the outputted string. If no
additional parameters are specified, a null string will be returned. Refer to the PHP manual
for more information: http://php.net/manual/function.printf.php.
Parameters string String to translate
(extra arguments) Multiple arguments to insert into string
Returns Length of translated string
static sprintf( string : string ) : string
Works like the PHP sprintf() function, except that string is translated.


Pages:
554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578