Experimental Project

This is a sandbox project, which contains experimental code for developer use only.

This projects provides an API for module developers to store arrays in the database using PHP's serialize function. The following function does just that.

persistent_array_set($name, $array);

The saved array can be fetched anywhere in the code with the following function, which uses PHP's unserialize function.

persistent_array_get($name);

The module creates a table {persistent_arrays} within the database and takes care of all queries. Please see module's help page at 'admin/help#persistent_arrays' for more details.

Project Information