@classmethod
def getUrl(class_, url, tool):
    """Gets an absolute URL based on p_url, that can already be absolute or
           not."""
    if url.startswith('http'):
        return url
    return tool.buildUrl(url)
