Zend Framework
1.12
|
Protected Member Functions | |
_validateUri ($url) | |
Checks whether URL to be shortened is valid. | |
_verifyBaseUri ($shortenedUrl) | |
Verifies that the URL has been shortened by this service. | |
Protected Attributes | |
$_baseUri = null | |
Additional Inherited Members | |
![]() | |
shorten ($url) | |
This function shortens long url. | |
unshorten ($shortenedUrl) | |
Reveals target for short URL. | |
![]() | |
static | setHttpClient (Zend_Http_Client $httpClient) |
Sets the HTTP client object to use for retrieving the feeds. | |
static | getHttpClient () |
Gets the HTTP client object. | |
![]() | |
static | $_httpClient = null |
|
protected |
Checks whether URL to be shortened is valid.
string | $url |
Zend_Service_ShortUrl_Exception | When URL is not valid |
|
protected |
Verifies that the URL has been shortened by this service.
Zend_Service_ShortUrl_Exception | If the URL hasn't been shortened by this service |
string | $shortenedUrl |
|
protected |