treeplus
- <?php
- /**
- * Behavior to calculate and save depth of a record in MPTT
- * Based on TreePlus beh...
TreePlus Behavior
- class TreePlusBehavior extends ModelBehavior {
- /**
- * Defaults
- *
- * @var array
- * @access...
Enhancement to tree behavior which saves "depth" for each record. Original work by AD7six, modifi...
