YANA 4 PHP FrameworkDocs For Class Registry

### Class Registry

#### Description

Registry

- access: public

Located in /includes/class_registry.php

    SerializeableObject
       |
       --InputStream
          |
          --SecureInputStream
             |
             --VDrive
                |
                --Registry

#### Method Summary

mixed getVar ([string $key = "*"])
boolean merge (string $key, array $array)
boolean setType (string $key, string $type)
boolean setVar (string $key, mixed $value)
boolean unsetVar (string $key)

#### Methods

##### getVar

mixed getVar ([string $key = "*"])

retrieves var from registry

- access: public

Name | Type | Description
--- | --- | ---
$key | string | (optional)

##### merge

boolean merge (string $key, array $array)

merges the value at adresse $key with the provided array data

- access: public

Name | Type | Description
--- | --- | ---
$key | string |
$array | array |

##### setType

boolean setType (string $key, string $type)

sets the type of a var on registry

- access: public

Name | Type | Description
--- | --- | ---
$key | string |
$type | string |

##### setVar

boolean setVar (string $key, mixed $value)

sets var on registry

- access: public

Name | Type | Description
--- | --- | ---
$key | string |
$value | mixed |

##### unsetVar

boolean unsetVar (string $key)

removes var from registry

- access: public

Name | Type | Description
--- | --- | ---
$key | string |

#### Inherited Methods

Inherited From VDrive

> VDrive::VDrive()
> VDrive::addDrive()
> VDrive::get()
> VDrive::mount()
> VDrive::read()
> VDrive::toString()

Inherited From SecureInputStream

> SecureInputStream::checksum()
> SecureInputStream::failSafeRead()
> SecureInputStream::get()
> SecureInputStream::isEmpty()
> SecureInputStream::read()
> SecureInputStream::reset()
> SecureInputStream::toString()

Inherited From InputStream

> InputStream::InputStream()
> InputStream::exists()
> InputStream::get()
> InputStream::getFilename()
> InputStream::isEmpty()
> InputStream::read()
> InputStream::resetStats()
> InputStream::toString()

Inherited From SerializeableObject

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

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

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