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

Class: Services_Digg_ShortURL

Source Location: /Services_Digg-0.4.7/Services/Digg/ShortURL.php

Class Overview

Services_Digg_Common
   |
   --Services_Digg_ShortURL

Services_Digg_ShortURL


Author(s):

Methods


Inherited Variables

Inherited Methods


Class Details

[line 32]
Services_Digg_ShortURL


[ Top ]


Method Detail

create   [line 54]

string create( string $url)

Shorten a URL using Digg's URL shortener API

Parameters:

string   $url   —  A valid URL to shorten

[ Top ]

getAll   [line 41]

void getAll( [array $params = array()])

Get all topics
  • Throws: Services_Digg_Exception
  • Access: public

Parameters:

array   $params   —  Digg API arguments

[ Top ]

getInfo   [line 77]

object Instance getInfo( string $url_or_id)

Get info about a given short URL

Parameters:

string   $url_or_id   —  Either a short URL or the ID of a URL

[ Top ]


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