PHP 클래스 Phergie_Plugin_Url_Shorten_Isgd, phergie

저자: Phergie Development Team ([email protected])
상속: extends Phergie_Plugin_Url_Shorten_Abstract
파일 보기 프로젝트 열기: phergie/phergie

보호된 프로퍼티들

프로퍼티 타입 설명
$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