File: |
adjacency.class.php |
Role: |
Class source |
Content type: |
text/plain |
Description: |
base class with all functions required for adding, removing and renesting ordered items. |
Class: |
Adjacency Model
Create and manipulate adjacency lists in MySQL |
Author: |
By Peter Drinnan |
Last change: |
Added the following new functions:
public function updateNode($id,$data)
public function getSiblingNodes($sibling_id)
public function getParentID($node_id)
public function getParentData($node_id)
public function getParentIDs($node)
public function getParentsData($node)
public function getPositionData($node_id)
public function repositionSibling($node_id,$direction)
public function getSiblings($node_id)
public function addSiblingNode($sibling_id,$data)
|
Date: |
14 years ago |
Size: |
18,771 bytes |
|
|
|