Download the PHP package harp-orm/nested without Composer
On this page you can find all versions of the php package harp-orm/nested. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download harp-orm/nested
More information about harp-orm/nested
Files in harp-orm/nested
Download harp-orm/nested
More information about harp-orm/nested
Files in harp-orm/nested
Vendor harp-orm
Package nested
Short Description Adjacency List (parentId column) for Harp ORM
License BSD-3-Clause
Package nested
Short Description Adjacency List (parentId column) for Harp ORM
License BSD-3-Clause
Please rate this library. Is it a good library?
Informations about the package nested
Nested
Adjacency List (parentId column) for Harp ORM
Usage
Add the Trait to your Model
Database Table:
Methods
It will add "parent" and "children" Rels to the repo. The model will get the convenience methods:
Method | Description |
---|---|
getParent() | Return the parent model |
setParent(AbstractModel $parent) | Set the parent model |
getChildren() | Get immidiate children. Returns a Models object |
isRoot() | Boolean check if it is root (has parent) or not |
getParents() | Return all the parents, including root. Models object |
License
Copyright (c) 2014, Clippings Ltd. Developed by Ivan Kerin
Under BSD-3-Clause license, read LICENSE file.
All versions of nested with dependencies
PHP Build Version
Package Version
The package harp-orm/nested contains the following files
Loading the files please wait ....