If debug is enabled,
translated strings will be encapsulated by bullet characters, strings translated from a
constant will be encapsulated in double exclamation marks, and strings that are not
translated will be encapsulated in double question marks.
Parameters string String to translate
[jsSafe] Add slashes to translated string
Returns Translated string
_load( filename : string, extension : string='unknown' ) : mixed
Loads a language file and returns an associative array of translations.
Parameters filename Language path and filename to load
[extension] Name of the extension
Returns Associative array of translations; false on failure
_getCallerInfo( ) : array
Gets back-trace information that can be used to determine where a method call originated.
Returns Back-trace information
Appendix
[ 416 ]
_parseLanguageFiles( dir : string=null ) : array
Gets a two-dimensional associative array of all the languages in the path specified by dir.
The returned associative array contains keys named the same as the languages, which
contain associative arrays of the corresponding metadata.
Pages:
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576