PHP Класс Phergie_Plugin_Url_Shorten_Isgd, phergie

Автор: Phergie Development Team ([email protected])
Наследование: extends Phergie_Plugin_Url_Shorten_Abstract
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$minimumLength integer is.gd says their URL will most likely never be longer than 18 characters

Защищенные методы

Метод Описание
getRequestParams ( string $url ) : array Returns an array of request parameters given a url to shorten. The following keys are valid request parameters:
onComplete ( Phergie_Plugin_Http_Response $response ) : string | boolean Callback for when the URL has been shortened. Checks for error messages.

Описание методов

getRequestParams() защищенный Метод

Returns an array of request parameters given a url to shorten. The following keys are valid request parameters:
protected getRequestParams ( string $url ) : array
$url string the url to shorten
Результат array the request parameters

onComplete() защищенный Метод

Callback for when the URL has been shortened. Checks for error messages.
protected onComplete ( Phergie_Plugin_Http_Response $response ) : string | boolean
$response Phergie_Plugin_Http_Response the response object
Результат string | boolean the shortened url or false on failure

Описание свойств

$minimumLength защищенное свойство

is.gd says their URL will most likely never be longer than 18 characters
protected int $minimumLength
Результат integer