PHP Classes

Nested Set DB Table

Recommend this page to a friend!

      Nested Set DB Table  >  All threads  >  Nested Set DB Table  >  (Un) Subscribe thread alerts  
Subject:Nested Set DB Table
Summary:One suggestion would be ...
Messages:6
Author:Tiit Papp
Date:2009-11-17 13:17:25
Update:2009-12-13 17:10:11
 

  1. Nested Set DB Table   Reply   Report abuse  
Picture of Tiit Papp Tiit Papp - 2009-11-17 13:17:25
Your work is worthwhile! An example would be similar to http://www.phpclasses.org/browse/package/5244.html , it would be your perfect job and the best ... What do you think?

  2. Re: Nested Set DB Table   Reply   Report abuse  
Picture of Nikola Posa Nikola Posa - 2009-11-26 12:42:10 - In reply to message 1 from Tiit Papp
Thanks for your support!

btw I'm not sure I understood your question...

  3. Re: Nested Set DB Table   Reply   Report abuse  
Picture of Tiit Papp Tiit Papp - 2009-11-26 15:13:09 - In reply to message 2 from Nikola Posa
Thank you for your reply!

If demo.php mean, it does not work for me unfortunately!

Notice: Undefined index: driver_options in D:\wamp\www\KATSETUS\nested-set-db-table\tests\1\NestedSetDbTable\DbAdapter\Default.php on line 50
Array ( ).

I looked for mistakes, but did not find it. I put in my database, whether it is properly prepared ...

-- phpMyAdmin SQL Dump
-- version 3.1.3
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Nov 26, 2009 at 04:49 PM
-- Server version: 5.1.32
-- PHP Version: 5.2.9-1

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";

--
-- Database: `test`
--

-- --------------------------------------------------------

--
-- Table structure for table `nested_category`
--

CREATE TABLE IF NOT EXISTS `nested_category` (
`category_id` int(11) NOT NULL AUTO_INCREMENT,
`lft` int(11) NOT NULL,
`rgt` int(11) NOT NULL,
PRIMARY KEY (`category_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=0 ;

--
-- Dumping data for table `nested_category`
--

I am willing to listen:)!

  4. Re: Nested Set DB Table   Reply   Report abuse  
Picture of Nikola Posa Nikola Posa - 2009-11-28 22:21:43 - In reply to message 3 from Tiit Papp
That's not error, its just a notice, because I didn't use "driverOptions" configuration in that demo. Your PHP error reporting configuration is probably set to show every kind of errors, including notices.

I've made some changes to avoid that situation, you should download newest version of my package, and try it again.

  5. Re: Nested Set DB Table   Reply   Report abuse  
Picture of Tiit Papp Tiit Papp - 2009-12-13 17:03:34 - In reply to message 4 from Nikola Posa
Hello!
Yes, improved demo is running. It does not throw errors ...
It is a bit rude question - whether, for example, such as: http://loomes.spacequadrat.de/nestedset/index.php.
Then we can better understand the class, how it works visually ...
What do you think?

  6. Re: Nested Set DB Table   Reply   Report abuse  
Picture of Tiit Papp Tiit Papp - 2009-12-13 17:10:11 - In reply to message 5 from Tiit Papp
All are certainly grateful for that. If a similar demo is available ...