2

Joomla uses Nested Sets to represent the category structure JTableCategory and the menu structure JTableMenu. Therefore these classes inherit the JTableNested class:

  • JTableCategory extends JTableNested
  • JTableMenu extends JTableNested

Why isn't this concept of Nested Sets also used for JTableUsergroup? The database table #__usergroups is prepared to represent a Nested Set but the code of the JTableUsergroup class inherits JTable and does not use locking for operations nor rebuilds the nested set tree when deleting a user group.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.