>> YANA 4 PHP Framework >> Docs For Class Language

Class Language

Description

«Singleton» Language

This class may be used to dynamically load additional language files at runtime.

  • access: public

Located in /includes/class_language.php

Object
   |
   --Singleton
      |
      --Language
Method Summary
  • bool read (string $filename)

Methods

read language strings from a file
bool read (
string $filename
)
List of parameters:
Name Type Description
$filename string
Description:

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.

  • access: public
inherited from base classes

Inherited From Singleton

Inherited From Object

Documentation generated on Sun, 11 Mar 2007 15:02:37 +0100 by phpDocumentor 1.3.1

yana author: Thomas MeyerHomepage: www.yanaframework.net