PHP Classes
elePHPant
Icontem

File: dbtree.class.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Kuzma Feskov  >  Nested Sets DB Tree  >  dbtree.class.php  
File: dbtree.class.php
Role: Class source
Content type: text/plain
Description: DB Tree v2.1
Class: Nested Sets DB Tree
Manipulate database records in hierarchical trees
Author: By
Last change: 1) The requirement of presence of expansion GetText is eliminated - the class automatically determines presence of this expansion. In case of its absence, all messages of a script will be printed by standard PHP commands, around GetText.
2) The requirement of presence of library ADODB is eliminated. The class carrent normally works with this library and in full opens the opportunities with it. But now you have opportunity to use any other library necessary to you. For this purpose I write the demonstration driver which organizes work directly with MySql. This driver can be counted the interface. For normal work of a class simply it is necessary for you to redefine all functions of a driver-example. A driver - example completely the worker and completely serves the new version of library, however I give it extremely as an example and any guarantees connected to its use I do not give. I strongly recommend to overlook all functions of the given class and to modify them under your needs. To organize interaction with PEAR:: DB to you only it is necessary to redefine functions of my driver MySQL on function PEAR.
3) Function ChangePositionAll has received the status RELEASE.
4) Full-scale demonstration of opportunities of library is added. The given demonstration evidently shows that ease from which you can work with trees in the scripts. The example is written so, that you receive practically ready decision for the needs: creation, editing, moving and removal of sections, and also various examples of navigation on a site are called to inform maximum up to the programmer of an opportunity of library and to give practical recommendations on its use!
Date: 9 years ago
Size: 45,684 bytes

You need to be a registered user and login to get this file.

Login Immediately with your account on:

FacebookGmailHotmailStackOverflowGitHubYahoo