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

Class: Services_ShortURL_Shortie

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

Class Overview

Services_ShortURL_Common
   |
   --Services_ShortURL_Shortie

Interface for creating/expanding short.ie 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 41]
Interface for creating/expanding short.ie links


[ Top ]


Class Variables

$api =  'http://short.ie/api'

[line 50]

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

Type:   string


[ Top ]



Method Detail

sendRequest   [line 94]

object Instance sendRequest( string $url)

Send a request to http://short.ie

Parameters:

string   $url   —  The URL to send the request to

[ Top ]

shorten   [line 62]

string shorten( string $url)

Shorten a URL using http://short.ie

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.