Getting the URL of an action
<a href="/about/contact">Contact</a>$url = $e->Actions->getAction("aboutContact")->request->buildUrl();<a href="<?= $e->Actions->getAction("aboutContact")->request->buildUrl() ?>">Contact</a>$e->Patterns->out("page.html", [
"variables" => [
"urlAboutContact" => $e->Actions->getAction("aboutContact")->request->buildUrl()
]
]);<a href="<?= $urlAboutContact ?>">Contact</a>Getting the URL of actions with variable path components or GET parameters
Last updated