Adjacency Model

Package:
Adjacency Model
Summary:
Create and manipulate adjacency lists in MySQL
Groups:
Algorithms, Databases, PHP 5
Author:
Peter Drinnan
Description:
This class can be used to create and manipulate adjacency lists in MySQL.

It can perform several types of operations to store and retrieve information in a MySQL table of nodes of an adjacency list.

Currently it can: add nodes, retrieve the list of all nodes, get the children of a given node, change the parent of a node, and delete nodes.


Powered by Gewgley