Zend certified PHP/Magento developer

Get a route frontname by route id

I’m currently working with url rewrites and I’m looking for a way to get the frontname of a route from a module.


    
        
    

This is for module that I’m customizing, not a new module. I don’t want to have to change the id as I would probably need to change quite a bit of code.

I’d like to get the ‘faq’ frontname by supplying the id ‘support’ (which it does for getUrl(), but that returns the frontname appended to the baseurl.

If all else fails I could probably just use the getUrl() method and just grab the last fragment I guess, but I’d like to use a better solution if possible.