function uri_to_alias($uri) {
        try
        {
            $retVal = $this->uri_to_qname($uri);
        }
        catch (\Tripod\Exceptions\LabellerException $e) {}
        return (empty($retVal)) ? $uri : $retVal;
    }
function uri_to_alias($uri) {
        try
        {
            $retVal = $this->uri_to_qname($uri);
        }
        catch (\Tripod\Exceptions\LabellerException $e) {}
        return (empty($retVal)) ? $uri : $retVal;
    }
function uri_to_alias ( $ uri ) { try { $ retVal = $ this -> uri_to_qname ( $ uri ) ; } catch ( \ Tripod \ Exceptions \ LabellerException $ e ) { } return ( empty ( $ retVal ) ) ? $ uri : $ retVal ; }
If labeller can generate a qname for this uri, it will return it. Otherwise just returns the original uri
@param $uri
@return string
If labeller can generate a qname for this uri it will return it . Otherwise just returns the original uri