From: Aran Deltac Date: Tue, 4 Apr 2006 18:29:12 +0000 (+0000) Subject: Added INHERITED METHODS sections X-Git-Tag: 0.03001~14 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class-Tree.git;a=commitdiff_plain;h=4b44af230c1a43dd07aa927faf9a5a0dcd730c3a Added INHERITED METHODS sections --- diff --git a/TODO b/TODO index d377ab3..0029a96 100644 --- a/TODO +++ b/TODO @@ -2,7 +2,11 @@ - Support DAGs. - Add is_leaf, is_parent, is_branch, and is_root. - Tree::Visitor - - Come up with a better name for attach_before and attach_after. + - Come up with a better name for attach_before and + attach_after. - Support multiple columns for ordering. - - Declare both the parent column and the position column in one call. + - Declare both the parent column and the position column + in one call. + - Add an ancestors() and descendants() method with + support for resultset cacheing. diff --git a/lib/DBIx/Class/Tree/AdjacencyList.pm b/lib/DBIx/Class/Tree/AdjacencyList.pm index b3df744..457602c 100644 --- a/lib/DBIx/Class/Tree/AdjacencyList.pm +++ b/lib/DBIx/Class/Tree/AdjacencyList.pm @@ -192,6 +192,50 @@ sub attach_sibling { 1; __END__ +=head1 INHERITED METHODS + +=head2 DBIx::Class + +=over 4 + +=item * + +L + +=item * + +L + +=back + +=head2 DBIx::Class::Componentised + +=over 4 + +=item * + +L + +=item * + +L + +=item * + +L + +=back + +=head2 Class::Data::Accessor + +=over 4 + +=item * + +L + +=back + =head1 AUTHOR Aran Clary Deltac diff --git a/lib/DBIx/Class/Tree/AdjacencyList/Ordered.pm b/lib/DBIx/Class/Tree/AdjacencyList/Ordered.pm index 57ea891..1481c0a 100644 --- a/lib/DBIx/Class/Tree/AdjacencyList/Ordered.pm +++ b/lib/DBIx/Class/Tree/AdjacencyList/Ordered.pm @@ -193,25 +193,127 @@ __END__ =head1 INHERITED METHODS -This module inherits all methods from L. - - siblings - first_sibling - last_sibling - previous_sibling - next_sibling - move_previous - move_next - move_first - move_last - move_to - insert - delete - -And L. - - attach_child - attach_sibling +=head2 DBIx::Class::Ordered + +=over 4 + +=item * + +L + +=item * + +L + +=item * + +L + +=item * + +L + +=item * + +L + +=item * + +L + +=item * + +L + +=item * + +L + +=item * + +L + +=item * + +L + +=item * + +L + +=item * + +L + +=back + +=head2 DBIx::Class::Tree::AdjacencyList + +=over 4 + +=item * + +L + +=item * + +L + +=item * + +L + +=item * + +L + +=item * + +L + +=back + +=head2 DBIx::Class + +=over 4 + +=item * + +L + +=item * + +L + +=back + +=head2 DBIx::Class::Componentised + +=over 4 + +=item * + +L + +=item * + +L + +=item * + +L + +=back + +=head2 Class::Data::Accessor + +=over 4 + +=item * + +L + +=back =head1 AUTHOR