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( [ $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 Fri, 10 Jul 2009 01:30:06 +0000 by phpDocumentor 1.4.2. PEAR Logo Copyright © PHP Group 2004.