Dynamic yii\widgets\Menu from database table


(Tam Hassan7) #1

It would be splendid if one could use yii\widgets\Menu given all items stored in the database.

A simple table column "parent_id" could be used to associate childs with parents, and can allow for multi-level heirarchy.