1
0
mirror of synced 2024-12-14 23:26:04 +03:00
Commit Graph

27 Commits

Author SHA1 Message Date
romanb
344ab02d95 reverting the reorganization done in 3455-3456 in order to make merging my experimental branch to trunk easier. 2008-01-05 19:14:35 +00:00
Jonathan.Wage
44820ec14a Preparation for new organization of code in to sub packages. Changed autoload() to work with new structure. 2008-01-05 07:39:25 +00:00
romanb
7d1e03901a cleaning up draft/ 2007-10-21 09:00:40 +00:00
Jonathan.Wage
27b369a5f3 Mass search and replace for coding standards changes, doc block formatting, and code spacing. 2007-10-21 06:23:59 +00:00
Jonathan.Wage
0a6f216efa Lots of formatting changes, cleanup, doc block changes. 2007-10-03 21:43:22 +00:00
meus
f3a377a794 replace tabs with 4 spaces. and fix other coding style related stuff 2007-09-03 14:57:18 +00:00
romanb
ce90ee576a Fixed Doctrine_Node_NestedSet::getNumberChildren() 2007-08-20 07:45:29 +00:00
romanb
46e5a0d2f8 Fixed multiple-root setup with new syntax (actAs/loadTemplate). Forgot to pass the parameters. 2007-08-04 17:02:25 +00:00
romanb
7ad2c77a2d - Updated nested set documentation
- Removed the reserved alias "base" from the nested set. It's no longer necessary to use that. Use whatever alias you want.
2007-08-04 14:33:15 +00:00
Jonathan.Wage
48481be4bd Fixed issue with isValidNode() not always being passed a Doctrine_Record and fixed issue with params being sent to set(), moved to where() until set() can handle params 2007-08-02 20:05:12 +00:00
romanb
7583a8d8ac Preliminary fix for a bug that occurs when using NestedSet + Column aggregation inheritance 2007-07-29 19:38:11 +00:00
romanb
fc2f9f29bd Closes #405.
Syntax for getting input properly escaped through prepared statements:
$query->set('field', 'field + ?', $value)
or
$query->set('field', 'field + ? - ?', array($value1, $value2))
or simply
$query->set('field', '?', $value)
Ticket: 405
2007-07-24 11:34:00 +00:00
Jonathan.Wage
c9dafc24aa Changed where() and orderBy() to addWhere() and addOrderBy() 2007-07-12 15:41:26 +00:00
romanb
532d3da4f1 Bugfix for hydration. (zyne, please have a look at the diff).
Improvements and enhancements to the NestedSet (not BC! please have a look at draft/nestedset_changes.tree).
Added a model that was missing in the repos (model/BlogTag).
Updated a testcase.
2007-07-08 12:57:52 +00:00
Jonathan.Wage
a1ef5fbf4b Fixed issue with isValidNode() and it not accepting an argument when it should allow it. 2007-05-17 19:52:50 +00:00
romanb
4b5731baf5 Make Doctrine_Node_NestedSet::delete() work correctly with multiple roots. 2007-05-08 19:35:31 +00:00
romanb
f0236dc9a1 More additions to the NestedSet implementation: Added $node->makeRoot() which can be used when using many roots to detach a node from a tree and make it a root node itself. 2007-05-07 18:29:52 +00:00
romanb
a1ee3f97e7 Added support for transparently moving nodes between different trees when using many roots (EXPERIMENTAL!) 2007-05-07 15:49:23 +00:00
romanb
bc24aafd87 Closed #313
Ticket: 313
2007-04-23 10:43:09 +00:00
romanb
93a737b4e1 Added missing multiple root support for Doctrine_Node_NestedSet::getParent() 2007-02-10 18:07:05 +00:00
romanb
18cf2887cf Added missing multiple root support for Doctrine_Node_NestedSet::getFirstChild() and
Doctrine_Node_NestedSet::getLastChild()
2007-02-10 17:58:29 +00:00
romanb
a0def4808f Added missing multiple root support to Doctrine_Node_NestedSet::getNextSibling()
and Doctrine_Node_NestedSet::getPrevSibling()
2007-02-10 17:51:42 +00:00
romanb
e006ebb056 Added missing multiple root support to Doctrine_Node_NestedSet::getAncestors(). 2007-02-10 17:32:26 +00:00
romanb
ee2c5f6231 Fixed a bug in Doctrine_Node_NestedSet::getRootValue() and setRootValue(). They were still using underscore property names (roo_column_name, ...). 2007-02-09 22:15:04 +00:00
joesimms
02efd7f73b refactoring for tree implementation 2007-02-08 12:53:32 +00:00
zYne
484fb080cd little refactorings 2007-01-16 00:12:52 +00:00
zYne
3fc9edf871 Hierarchical data handling implementation moved from draft to main lib 2007-01-15 20:12:22 +00:00