{"id":19148304,"url":"https://github.com/dmtrs/ejnestedtreeactions","last_synced_at":"2025-05-07T03:07:46.074Z","repository":{"id":926034,"uuid":"692537","full_name":"dmtrs/EJNestedTreeActions","owner":"dmtrs","description":"yii extension for nested set with jstree ","archived":false,"fork":false,"pushed_at":"2010-07-08T09:48:05.000Z","size":319,"stargazers_count":6,"open_issues_count":8,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-07T03:07:27.692Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.yiiframework.com/extension/ejnestedtreeactions/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dmtrs.png","metadata":{"files":{"readme":"README.txt","changelog":"CHANGELOG.txt","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-05-29T12:21:48.000Z","updated_at":"2019-08-13T14:33:58.000Z","dependencies_parsed_at":"2022-08-16T11:30:36.356Z","dependency_job_id":null,"html_url":"https://github.com/dmtrs/EJNestedTreeActions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmtrs%2FEJNestedTreeActions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmtrs%2FEJNestedTreeActions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmtrs%2FEJNestedTreeActions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmtrs%2FEJNestedTreeActions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmtrs","download_url":"https://codeload.github.com/dmtrs/EJNestedTreeActions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252804217,"owners_count":21806770,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T07:53:40.800Z","updated_at":"2025-05-07T03:07:46.024Z","avatar_url":"https://github.com/dmtrs.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"EJNestedTreeActions\n==================\nVersion. *next*\nAuthor: [tydeas_dr](mailto:tydeas.dr@gmail.com)\nAuthor: [Alexander Makarov, Sam Dark](mailto:sam@rmcreative.ru)\nCopyright \u0026copy; 2010 [Evresis](http://www.evresis.com)\n\n\nWhat EJNestedTreeActions IS and What IS NOT\n-------------------------------------------\n\nEJNestedTreeActions IS NOT:\n\n* a nested set behavior for your model\n* a jstree extension\n\nEJNestedTreeActions IS only a set of actions and a behavior and you as well need:\n\n* [ENestedSetBehavior extension](http://code.google.com/p/yiiext/source/browse/#svn/trunk/app/extensions/yiiext/behaviors/model/trees)\n* [CJstree 1.1 extension](http://www.yiiframework.com/extension/jstree/) *Attention* Cjstree must be at version 1.1 or else won't work[](http://pastebin.com/download.php?i=TH7u2Jqa)\n* And of course [jsTree v.0.9.9.a](http://code.google.com/p/jstree/downloads/list)\n\n\nConfused ? MVC\n---------------\n\n\n### Model\nTo make your model act like a nested set you will need the\nENestedSetBehavior, as we said before. This extension make your model to be able\nto append,prepend,return the children etc.\n\n### View\nAt view we have the pretty one jstree. To use the jstree you will need the\nCJstree extension ( found as jstree extension ).\nThis will give you the ability to drag \u0026 drop, copy \u0026 paste, create new nodes etc. at your view.\n\n### Controller\nThis is where EJNestedTreeActions comes.\nThe jstree has the ability to use async ajax to make request and get results. This async request\nwill call a controller's action to do so. This is what the EJNestedTreeActions does.\nTake the request from the jstree make the appropriate append,prepend, etc for your model and\nreturn data to the jstree.\n\n\nHow all this work and the callbacks\n-----------------------------------\n\nYou first create you table and use the ENestedBehavior like it is described in it's documentation.\nUse the EJNestedTreeBehavior as described in documentation.\nUse CJstree as described in it's documentation.\n\ngit repository\n--------------\nTo clone project from the github repository:\n\n\tgit clone git://github.com/dmtrs/EJNestedTreeActions.git\n\nThanks\n------\n\nI would like to thank the CJstree author shocky, the ENestedBehavior author creocoder, samdark, the Evresis team,\nthe people from #yii at freenode in general and specially Javache for the help on this.\n\n\n###Resources\n* [Yii extension site](http://www.yiiframework.com/extension/ejnestedtreeactions/) The yii extension site.\n* [Github repository](http://github.com/dmtrs/EJNestedTreeActions/) For the latest version and official issue reporting.\n* [Join discussion](http://www.yiiframework.com/forum/index.php?/topic/9434-extension-ejnestedtreeactions/)\nAll suggestions, contributes, ideas are welcome.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmtrs%2Fejnestedtreeactions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmtrs%2Fejnestedtreeactions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmtrs%2Fejnestedtreeactions/lists"}