Answer the question
In order to leave comments, you need to log in
How to set up urlManager?
There is a table of product categories with the following fields:
cat_id: category index
cat_name: category name
parentcat_id: parent category index
alias: part of the address - transliteration of the category name (can contain both letters and numbers).
For example, it contains categories:
cat_id | cat_name | parentcat_id | alias |
---|---|---|---|
one | Catalog | 0 | catalog |
2 | TVs | one | tele |
3 | Auto | one | auto |
4 | Auto BMW | 3 | bmw |
5 | Diesel | 4 | diesel |
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question