This class can be used to manage categories of content stored in a MySQL that is structured in hierarchies of unlimited depth.
The categories hierarchy is stored in a MySQL table that keeps the information about each category including the identifier of its parent category record.
The class provides functions to add a new category, update, delete and retrieve the details of an existing category, retrieve the list of categories as an array or formatted in HTML.