concrete/src/Utility/Service/Url.php
public function shortenURL($strURL)
    {
        $file = Loader::helper('file');
        $url = $file->getContents("http://tinyurl.com/api-create.php?url=".$strURL);

        return $url;
    }
public function shortenURL($strURL)
    {
        $file = Loader::helper('file');
        $url = $file->getContents("http://tinyurl.com/api-create.php?url=".$strURL);

        return $url;
    }
public function shortenURL ( $ strURL ) { $ file = Loader :: helper ( 'file' ) ; $ url = $ file -> getContents ( "http://tinyurl.com/api-create.php?url=" . $ strURL ) ; return $ url ; }
Shortens a given url with the tiny url api.

@param string $strURL

@return string $url
Shortens a given url with the tiny url api .