| [ Index ] |
PHP Cross Reference of MyBB 1.6.5 |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 217 lines (5 kb) |
| Included or required: | 3 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
MyLanguage:: (7 methods):
set_path()
language_exists()
set_language()
load()
sprintf()
get_languages()
parse()
Class: MyLanguage - X-Ref
MyBB 1.6| set_path($path) X-Ref |
| Set the path for the language folder. param: string The path to the language folder. |
| language_exists($language) X-Ref |
| Check if a specific language exists. param: string The language to check for. return: boolean True when exists, false when does not exist. |
| set_language($language="english", $area="user") X-Ref |
| Set the language for an area. param: string The language to use. param: string The area to set the language for. |
| load($section, $isdatahandler=false, $supress_error=false) X-Ref |
| Load the language variables for a section. param: string The section name. param: boolean Is this a datahandler? param: boolean supress the error if the file doesn't exist? |
| sprintf($string) X-Ref |
| No description |
| get_languages($admin=0) X-Ref |
| Get the language variables for a section. param: boolean Admin variables when true, user when false. return: array The language variables. |
| parse($contents) X-Ref |
| Parse contents for language variables. param: string The contents to parse. return: string The parsed contents. |
| Generated: Sun Dec 11 14:16:27 2011 | Cross-referenced by PHPXref 0.7.1 |