YANA 4 PHP FrameworkDocs For Class Language

### Class Language

#### Description

«Singleton» Language

- access: public

Located in /includes/class_language.php

    SerializeableObject
       |
       --Singleton
          |
          --Language

#### Method Summary

boolean read (string $filename)

#### Methods

##### read

boolean read (string $filename)

read language strings from a file

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

Name | Type | Description
--- | --- | ---
$filename | string |

#### Inherited Methods

Inherited From Singleton

> Singleton::checkSingletonConstraint()

Inherited From SerializeableObject

> SerializeableObject::serialize()
> SerializeableObject::toString()

Documentation generated on Sat, 16 Sep 2006 17:06:00 +0200 by phpDocumentor 1.3.0RC4

yana author: Thomas Meyerwww.all-community.de/pub