YANA 4 PHP Framework
Docs For Class Language
«Singleton» Language
This class may be used to dynamically load additional language files at runtime.
Located in /includes/class_language.php
Object | --Singleton | --Language
Name | Type | Description |
---|---|---|
$filename | string |
The file should be taken from 'languages/*.config', without path and file extension.
The file contents will automatically be stored in the global registry and can be accessed using $YANA->getVar('LANGUAGE.SOME_VALUE').
This function issues an E_USER_NOTICE if the file does not exist. It returns bool(true) on success and bool(false) on error.
Inherited From Singleton
Inherited From Object
Documentation generated on Wed, 22 Nov 2006 20:19:09 +0100 by phpDocumentor 1.3.1