RE: [PEAR-DEV] NestedSet uses PEAR_ERROR_TRIGGER_ERROR
| From: | Daniel Khan | Date: | Tue, 16 Sep 2003 09:45:25 +0000 |
| Subject: | RE: [PEAR-DEV] NestedSet uses PEAR_ERROR_TRIGGER_ERROR | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-21540@lists.php.net to get a copy of this message | ||
Hi Arnaud,
> I noticed DB_NestedSet uses raiseError(..., PEAR_ERROR_TRIGGER_ERROR).
Would it be possible to remove it and let the user choose via
setErrorHandling ?
You are right - this is too restrictive.
I am currently doing a big cleanup inside this class and I will change this
also.
For people curious about BC breaks:
The next version will be much cleaner but fully BC.
Internally it will use a slightly different db model which is fully
compatible with the current.
So trees created with the next release will work with the next major release
also.
I will introduce some flags which will make the migration to the next major
release pretty straightforward.
regards
Daniel Khan