[Bast-commits] r9702 - DBIx-Class-Tree/trunk/lib/DBIx/Class/Tree

frew at dev.catalyst.perl.org frew at dev.catalyst.perl.org
Thu Sep 9 02:19:07 GMT 2010


Author: frew
Date: 2010-09-09 03:19:07 +0100 (Thu, 09 Sep 2010)
New Revision: 9702

Modified:
   DBIx-Class-Tree/trunk/lib/DBIx/Class/Tree/AdjacencyList.pm
Log:
small docpatch (nebulous)

Modified: DBIx-Class-Tree/trunk/lib/DBIx/Class/Tree/AdjacencyList.pm
===================================================================
--- DBIx-Class-Tree/trunk/lib/DBIx/Class/Tree/AdjacencyList.pm	2010-09-08 17:40:11 UTC (rev 9701)
+++ DBIx-Class-Tree/trunk/lib/DBIx/Class/Tree/AdjacencyList.pm	2010-09-09 02:19:07 UTC (rev 9702)
@@ -66,11 +66,10 @@
   __PACKAGE__->parent_column('parent_id');
 
 Declares the name of the column that contains the self-referential
-ID which defines the parent row.  Defaults to "parent_id".  This
-will create a has_many (children) and belongs_to (parent)
-relationship.
+ID which defines the parent row.  This will create a has_many (children) 
+and belongs_to (parent) relationship.
 
-This method also setups an additional has_many relationship called
+This method also sets up an additional has_many relationship called
 parents which is useful when you want to treat an adjacency list
 as a DAG.
 
@@ -114,7 +113,7 @@
 
   $b->parent( $d );
 
-Since D is a descendant of B then all of B's siblings get their parent
+Since D is a descendant of B then all of D's siblings get their parent
 changed to A.  Then B's parent is set to D.
 
   A




More information about the Bast-commits mailing list