Support Unlimited class classification, data table only with one parent_id recognition, automatic generation of lists, plain text, options*, arrays, and array with ID key name * *. The core class is catedemo/libs/categoriation.php and provides 5 forms of output. Please refer to the calling method in catedemo/controller.php. The site uses MVC organization, model.php method only for demonstration and write, not universal, only category::changedisplayorder () can be used to adjust the class display sequence for reference.
Usage, create new database, import Db.sql, modify related values in index.php
Important! DBA Layer with Pear DB, make sure the test environment is equipped with Pear
If you have any questions, please refer to this post for more wonderful discussion http://club.phpe.net/index.php?act=ST&f=2&t=11603&s=
* The method of generating options can take one parameter for setting selected
* * Some programs that automatically generate forms require an array of key names as IDs
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service