Skip to content

Commit

Permalink
Merge pull request cakephp#170 from Pushnell/patch-8
Browse files Browse the repository at this point in the history
External MPTT link was broken.  Updated to point to a good explanation.
  • Loading branch information
lorenzo committed Jan 10, 2012
2 parents 0a00007 + 73a8e1d commit ec9b816
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions en/core-libraries/behaviors/tree.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ deep it is simple to add a parent\_id field to your database table
and use this to keep track of which item is the parent of what.
Bundled with cake however, is a powerful behavior which allows you
to use the benefits of
`MPTT logic <http://dev.mysql.com/tech-resources/articles/hierarchical-data.html>`_
`MPTT logic <http://www.sitepoint.com/hierarchical-data-database-2/>`_
without worrying about any of the intricacies of the technique -
unless you want to ;).

Expand All @@ -39,7 +39,7 @@ direct children.
.. note::

The ``parent`` field must be able to have a NULL value! It might
seem to work, if you just give the top elements a parent value of
seem to work if you just give the top elements a parent value of
zero, but reordering the tree (and possible other operations) will
fail.

Expand Down

0 comments on commit ec9b816

Please sign in to comment.