Services_ShortURL
[ class tree: Services_ShortURL ] [ index: Services_ShortURL ] [ all elements ]

Class: Services_ShortURL_Isgd

Source Location: /Services_ShortURL-0.3.1/Services/ShortURL/Isgd.php

Class Overview

Services_ShortURL_Common
   |
   --Services_ShortURL_Isgd

Interface for creating/expanding is.gd links


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods

Class: Services_ShortURL_Common

Services_ShortURL_Common::__construct()
Constructor
Services_ShortURL_Common::accept()
Acceptor pattern
Services_ShortURL_Common::expand()
Default expand method
Services_ShortURL_Common::info()
Fetch information about the short URL
Services_ShortURL_Common::stats()
Fetch information about the short URL

Class Details

[line 40]
Interface for creating/expanding is.gd links


[ Top ]


Class Variables

$api =  'http://is.gd/api.php'

[line 49]

Location of API
  • Var: Location of API
  • Access: protected

Type:   string


[ Top ]



Method Detail

shorten   [line 59]

string shorten( string $url)

Shorten a URL using http://is.gd

Parameters:

string   $url   —  The URL to shorten

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:43:33 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.