Fix the "get all assets" code example in getLineage to show that getRoot needs a $session.

This commit is contained in:
Chris Nehren 2008-07-03 19:33:41 +00:00
parent f2e3675cfd
commit a57f091370

View file

@ -265,7 +265,7 @@ Returns an array reference of relative asset ids based upon rules.
=head3 relatives
An array reference of relatives to retrieve. Valid parameters are "siblings", "children", "ancestors", "self", "descendants", "pedigree". If you want to retrieve all assets in the tree, use getRoot->getLineage(["self","descendants"],{returnObjects=>1});
An array reference of relatives to retrieve. Valid parameters are "siblings", "children", "ancestors", "self", "descendants", "pedigree". If you want to retrieve all assets in the tree, use getRoot($session)->getLineage(["self","descendants"],{returnObjects=>1});
=head3 rules