Answer the question
In order to leave comments, you need to log in
How to make UrlManager combine multiple get parameters into one?
The config is configured as follows:
'parts/<group:[\w_\/-]+>/<subgroup:[\w_\/-]+>/<nodes:.+>'=>'node/view',
array (size=3)
'group' => string 'geely/ck/node-1' (length=15)
'subgroup' => string 'node2' (length=5)
'nodes' => string '110-10-040' (length=10)
array (size=3)
'group' => string 'geely' (length=6)
'subgroup' => string 'ck' (length=2)
'nodes' => string 'node-1/node2/110-10-040' (length=24)
Answer the question
In order to leave comments, you need to log in
Change URL rule:
'parts/<group:[\w_-]+>/<subgroup:[\w_-]+>/<nodes:.+>'=>'node/view',
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question