namespace FreezeThaw

Provides a 'lite' set of function(s) to manipulate frozen variables.

namespace contents
Functions
function freeze(array) - Freezes hashed arrays of strings and returns a frozen string.
function thaw(string) - Thaws frozen blobs as strings containing an array.

Functions

function freeze Click to go up to the list
Freezes hashed arrays of strings and returns a frozen string.
Declaration:
    static function freeze( array hasharray )
Description:
This function returns a frozen string created with the supplied hash array data. This is a lossless method of containing data in strings for storage in single dimensional systems, such as a SQL cell.
Parameters:
    Parameter #1: array hasharray - The hashed array containing variables/values
Returns:
    The frozen string result

function thaw Click to go up to the list
Thaws frozen blobs as strings containing an array.
Declaration:
    static function thaw( string frozenstring )
Description:
This function returns the contents of a blob created with the FreezeThaw perl module. The blob is passed as a string, and essentially split into array elements. Like the perl counterpart, the blob size and integrity must be intact for this function to succeed; or the function will result in a fatal exception.
Parameters:
    Parameter #1: string frozenstring - The frozen blob to be thawed
Returns:
    The array of contained elements

Automatically generated at 12:07PM, Wednesday 25 May 2005 by feritedoc.