Wednesday, October 1, 2008

Re: repair ACL acos tree cakephp

Check /cake/libs/model/behaviors/tree.php for method recover():

/**
* Recover a corrupted tree
*
* The mode parameter is used to specify the source of info that is
valid/correct. The opposite source of data
* will be populated based upon that source of info. E.g. if the MPTT
fields are corrupt or empty, with the $mode
* 'parent' the values of the parent_id field will be used to populate
the left and right fields. The missingParentAction
* parameter only applies to "parent" mode and determines what to do
if the parent field contains an id that is not present.
*/

HTH
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: