/StorableTree.php

Description
Classes
Class Description
StorableTree An implementation of the TreeInSql pattern
Constants
KEYLENGTH = 8 (line 26)

This defines the length of each subkey in a path stored.

The values are padded, so the path "1" represented in the storage would look like sprintf("%0d", KEYLENGTH, 1), that is 00000001 for the default keylength (4).

IMPORTANT: changing the keylength here requires a migration of the database contents!

  • todo: implement such a migration script

Documentation generated on Tue, 11 Jan 2005 01:38:31 -0500 by phpDocumentor 1.3.0RC3