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

Class: Services_Digg_Story

Source Location: /Services_Digg-0.4.1/Services/Digg/Story.php

Class Overview

Services_Digg_Common
   |
   --Services_Digg_Story

Services_Digg_Story


Author(s):

Methods


Child classes:

DiggAPIStory
DiggAPIStory

Inherited Variables

Inherited Methods


Class Details

[line 32]
Services_Digg_Story


[ Top ]


Method Detail

getCommentActivity   [line 71]

void getCommentActivity( int $story, [ $params = array()])

Get comment activity for a story
  • Throws: Services_Digg_Exception
  • Access: public

Overridden in child classes as:

DiggAPIStory::getCommentActivity()
Get comment activity for a story

Parameters:

int   $story     Story ID
array   $params     Digg API arguments

[ Top ]

getCommentById   [line 85]

void getCommentById( int $commentid, [ $params = array()])

Get a specific comment on a story
  • Throws: Services_Digg_Exception
  • Access: public

Parameters:

int   $commentid     ID of comment to fetch
array   $params     Digg API arguments

[ Top ]

getDiggActivity   [line 100]

void getDiggActivity( int $story, [ $params = array()])

Get digg activity for a story
  • Throws: Services_Digg_Exception
  • Access: public

Overridden in child classes as:

DiggAPIStory::getDiggActivity()
Get digg activity for a story

Parameters:

int   $story     Story ID
array   $params     Digg API arguments

[ Top ]

__call   [line 46]

void __call( string $function, $args)

__call

Any function you call via this (ie. comments()) requires you to pass a numeric story ID. The optional second argument is the normal $params argument passed to most API calls.

  • Throws: Services_Digg_Exception
  • Access: public

Overridden in child classes as:

DiggAPIStory::__call()

Parameters:

string   $function     
array   $args     

[ Top ]


Documentation generated on Tue, 04 Dec 2007 15:00:12 -0500 by phpDocumentor 1.4.0. PEAR Logo Copyright © PHP Group 2004.