






International Sites:
|
|
PRegistry
Maps an entry in the global Portalsuite configuration-registry data base.
This object is derived from PObject.
Fields:
Key, String (Readonly)
Value, String
function PRegistry ($sKey=0) [CONSTRUCTOR]
The constructor calls the ancestor’s constructor. In so far as the parameter $sKey was passed and such key exists in the registry, the object maps this key in the registry. If no parameter is passed or no key is found, you can apply a new key with the create-object function.
function Create ($sKey)
Applies a new key to the global Portalsuite registry data base. When this is done successfully, this object continues to map this key. It is useful to call the object function WriteField afterwards in order to define the settings for the key’s value.
function Delete ()
Deletes the entry in the Portalsuite registry data base, which the object represents.
function Valid ()
Checks if the current object is valid (return value=1) or non-valid (return value=0). The object is valid if it represents a dataset in the global Portalsuite registry data base. The valid-function is called by other object functions a. o.
function Field ($sFieldName="Value")
Reads out the passed field $sFieldName and returns the field content. In contrast to other objects, a default value for the field name is defined to the key value’s field.
function WriteField ($sFieldValue)
Writes the passed content of the variable $sFieldValue into the field Value. Since there is only one writable field, in contrast to other objcets the field name does not have to be passed.
[Back] -
[Bookmark] -
[Optimized for Printing] - [Send by E-mail] - [Contact]
Copyright © 2000-2002 by Portunity GmbH (Germany) - All rights reserved.
|
|


Direct links to the new Portalsuite 2002:
- Productinfos
- Download
- Support overview
- Support forum
|