Ticket #854 (closed enhancement: fixed)

Opened 7 months ago

Last modified 5 months ago

[nested_set] Add cache for getParent() and getChildren()

Reported by: francois Owned by: francois
Priority: normal Milestone: 1.5 Beta 2
Component: Generator Version: 1.3.0
Severity: normal Keywords:
Cc:

Description

And allow the addition of a child to the cache collection by way of addChildToCollection(). This should allow an alternate formatter to hydrate a tree with a single query, and allow for recursive traversal.

Change History

comment:1 Changed 7 months ago by francois

watch out for the return of the #741 bug

comment:2 Changed 7 months ago by francois

(In [1571]) [1.5][nested set] Slight getChildren() refactoring:

  • Added internal cache for children
  • Renamed getNumberOfChildren() to countChildren()
  • Added addNestedSetChild() to allow population of internal cache

(refs #854)

comment:3 Changed 7 months ago by francois

(In [1572]) [1.5] Added cache for getParent() (refs #854)

comment:4 Changed 7 months ago by francois

  • Status changed from new to closed
  • Resolution set to fixed

comment:5 Changed 5 months ago by francois

  • Milestone changed from 1.5 Beta 1 to 1.5 Beta 2
Note: See TracTickets for help on using tickets.