using namespace common\models add item: $item = Items::mk('description');// new item id is $item->id del item: Items::rm(1); get all childs: Items::findOne(1)->getAllChilds(); get all parents: Items::findOne(1)->getAllParents(); is item has parents Items::findOne(6)->isHasParents([1,3,4]); add link: $link = Links::mk(6,8); del link: Links::rm(6,10); swap links order: Links::swapOrder(1,4,3);
-
Notifications
You must be signed in to change notification settings - Fork 0
4fnsk/inetra-test
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published