Kirby 2 Docs
❌ Kirby 2 has reached its end of life. Migrate to a current version and
upgrade your v2 license now
.
router::register($pattern, $params = array(), $optional = array())
Adds a new route
$route
(object)
return
(object)
↑
Toolkit API overview
←
router::findRouteBy
→
router::route
↓
Back to Toolkit API section
Top