问题描述
我正在寻找一个包含所有必需功能的 PHP(使用 MYSQL)嵌套集类.例如:
I'm looking for a PHP (with MYSQL) nested sets class with all needed functions. For example:
createLeftNode、createRightNode、createRootNode、createSubNode、deleteNode 和 moveTree.不仅是一左一右,一上一下,而且是另一棵树中的一棵树的一部分.
createLeftNode, createRightNode,createRootNode, createSubNode,deleteNode and moveTree. Not only 1 left, 1 right, 1 up and 1 down but also a part of a tree in a nother tree.
谢谢!
推荐答案
如果您正在处理分层数据,那么嵌套良好的集合非常有用.仅使用 php 数组实现它要复杂得多,尤其是如果您想将这些信息保存在数据库中.
Well nested sets are great if you are working with hierarchical data. It's much more complex to implement it only with php arrays especially if you want to save these information in a database.
你可以试试这个.从未使用过,但经过简短的代码筛选后,它看起来几乎完成了.
you could try this on. Never used it but after a short code screening it looks almost complete.
http://www.edutech.ch/contribution/nstrees/index.php
这篇关于寻找最好的 PHP 嵌套集类(PEAR 类除外)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!



大气响应式网络建站服务公司织梦模板
高端大气html5设计公司网站源码
织梦dede网页模板下载素材销售下载站平台(带会员中心带筛选)
财税代理公司注册代理记账网站织梦模板(带手机端)
成人高考自考在职研究生教育机构网站源码(带手机端)
高端HTML5响应式企业集团通用类网站织梦模板(自适应手机端)